I’m trying to use the sdk for an integration, and when I pass the credentials in the “RequestJWTUserToken” method, it errors out at the first null check:
“if (!string.IsNullOrEmpty(userId))”.
When looking at the userId object, it’s set correctly to my User ID on DocuSign. It’s not null or empty, so I’m not sure why it’s erroring out here.
If I let it run through, I get the error:
"Error while requesting server, received a non successful HTTP code with response Body: "
So it’s not reaching the point where the DocuSignResponse object is created.
I’m not sure what’s going wrong here, as my credentials seem correct for the clientId, userId, oauthBasePath, and the privateKey. My coworker who has worked with DocuSign before and I are both stumped.
###
NEVERMIND, the problem seems to be combing from multiple requests on the front-end trying to write at the same time. It’s running the DocuSignClient prematurely in some cases.