Hi Team,
I am getting below error while invoking docusign
makeEnvelope test@gmail.com
creatingEnvelope
An uncaught exception occured!
Error: Unauthorized
at Request.callback (/home/finacle/node_modules/docusign-esign/node_modules/superagent/lib/node/index.js:696:15)
at /home/finacle/node_modules/docusign-esign/node_modules/superagent/lib/node/index.js:906:18
at IncomingMessage.<anonymous> (/home/finacle/node_modules/docusign-esign/node_modules/superagent/lib/node/parsers/json.js:19:7)
at IncomingMessage.emit (node:events:539:35)
at endReadableNT (node:internal/streams/readable:1345:12)
This works fine for me in local, however the same is failing through an application deployed in cloud.
I have added redirect uri in apps and keys section of the developer account as below,
Please note the url on cloud is https
Additionally i have enabled all the https methods available.
Please suggest the resolution.