🐈
» Forums » Support » authorization url issue in node-upwork while ...
Page options
abindore
Community Member

authorization url issue in node-upwork while running node myapp.js

Hello There,

 

I'm trying to run upwork API using node code but I'm getting below error from my local PC :

 

----------------------------------------------------------------------------

C:\Users\WIZ91\Documents\node-upwork\myapp.js:47
if (error) throw new Error('can not get authorization url, error: ' + error)
;
^

Error: can not get authorization url, error: [object Object]
at C:\Users\WIZ91\Documents\node-upwork\myapp.js:47:22
at C:\Users\WIZ91\Documents\node-upwork\node_modules\node-upwork\lib\oauth.j
s:60:23
at C:\Users\WIZ91\Documents\node-upwork\node_modules\node-upwork\lib\oauth.j
s:26:19
at C:\Users\WIZ91\Documents\node-upwork\node_modules\oauth\lib\oauth.js:518:
17
at passBackControl (C:\Users\WIZ91\Documents\node-upwork\node_modules\oauth\
lib\oauth.js:374:13)
at IncomingMessage.<anonymous> (C:\Users\WIZ91\Documents\node-upwork\node_mo
dules\oauth\lib\oauth.js:386:9)
at IncomingMessage.emit (node:events:530:35)
at endReadableNT (node:internal/streams/readable:1696:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:2
1)

Node.js v20.12.2

---------------------------------------------------------------------------

 

 

Current API is active setup with below configuration with keys.

Project type: web
Auth type: OAuth 2.0
 
 
thanks
Amit
2 REPLIES 2
NikolaS
Moderator
Moderator

Hi Amit,

 

We will look into this further and will get back to you once we have more information.

~ Nikola
Upwork
LuiggiR
Moderator
Moderator

Hi Amit,

 

I am stepping in here for Nikola. I'm sorry about the delay in getting back to you; one of our agents has contacted you via a support ticket to assist you further. 

~ Luiggi
Upwork
Latest Articles
Featured Topics
Learning Paths