Skip to main content

I’m trying to use RequestJWTUserToken on the C# SDK, but it keeps failing at “RestClient.SendRequest(Request)”. The docuSignResponse object keeps coming back with a StatusCode of “InternalServerError”. My coworker is able to run a separate project just fine, so the error must be on my end. Does anyone know what might cause the response to error?

 

I’ve checked and made sure the clientId = Integration Key, userId = User ID, and the string from privateKeyBytes matches my RSA Private Key. The scopes are “signature” and “impersonation”.

 

The request being sent has the following HeaderParams:

" Content-Type, application/x-www-form-urlencoded]",Content-Type,application/x-www-form-urlencoded
"fCache-Control, no-store]",Cache-Control,no-store
"oPragma, no-cache]",Pragma,no-cache

 

And the following PostParams:

"igrant_type, urn:ietf:params:oauth:grant-type:jwt-bearer]",grant_type,urn:ietf:params:oauth:grant-type:jwt-bearer
"-assertion, eyJhbGciOiJSUzI1NiIsIn…..

 

 

 

have you try in postman?

 

FreeLink/甫连信息

🌍 DocuSign Partner | Partner Profile

🏆 DocuSign 2024 APAC Reseller Growth Partner of the Year

🌟 The only DocuSign Partner globally certified as both a Certified eSignature Administrator and eSignature Technical Consultant.

📊 DocuSign Community Leaderboard Top 5 contributor.

🚀 Expertise in DocuSign integrations with on-premises systems for leading enterprises across various industries.