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
"[Cache-Control, no-store]",Cache-Control,no-store
"[Pragma, no-cache]",Pragma,no-cache
And the following PostParams:
"[grant_type, urn:ietf:params:oauth:grant-type:jwt-bearer]",grant_type,urn:ietf:params:oauth:grant-type:jwt-bearer
"[assertion, eyJhbGciOiJSUzI1NiIsIn…..