Skip to main content

Dear Support,

We are getting this error on a production account. This is happening after the consent was provided. The token is successfully retrieved using method RequestJWTUserToken. But GetUserInfo/CreateEnvelope return error.

Error while requesting server, received a non successful HTTP code with response Body: {"error":"internal_server_error","reference_id":"c02eb179-6bba-474c-8a25-94d3772219cb"}

Thanks,

Tahir

This error usually occurs when the wrong user ID is defined in the JWT token, or the Demo URL is used for the production environment, or the URL itself is wrongly defined.

More information about authentication service endpoints is here: https://developers.docusign.com/platform/auth/reference/


The problem was solved by using the production URL for both the apiBase and oAuthBase parameters. I think this needs to be specified in documentation that both URLs need to be overridden.

var baseClient = new DocuSignClient(prodUrl, prodUrl);
var userInfo = baseClient.GetUserInfo(token);

 


Reply