admin管理员组

文章数量:1292173

When calling RequestJWTUserToken, an exception is returned:

Exception: "We call the token API, but the token creation sometimes results in a non-successful HTTP response code," not always.

What could be the issue? We are implementing it as shown below.

var _apiClient = new ApiClient(_baseurl);
token = _apiClient.RequestJWTUserToken(_integratorKey, 
  _userID, _baseurl, Encoding.UTF8.GetBytes(PrivateKey),
  1, Scopes);
TokenGeneratedAt = DateTime.Now;

When calling RequestJWTUserToken, an exception is returned:

Exception: "We call the token API, but the token creation sometimes results in a non-successful HTTP response code," not always.

What could be the issue? We are implementing it as shown below.

var _apiClient = new ApiClient(_baseurl);
token = _apiClient.RequestJWTUserToken(_integratorKey, 
  _userID, _baseurl, Encoding.UTF8.GetBytes(PrivateKey),
  1, Scopes);
TokenGeneratedAt = DateTime.Now;
Share Improve this question edited Feb 15 at 17:10 Larry K 49.1k15 gold badges91 silver badges145 bronze badges asked Feb 13 at 12:09 Rukzana K ARukzana K A 433 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 1

You are not really giving enough information here, for example:

  • What are the error codes that are being reported?

See https://developers.docusign/docs/esign-rest-api/esign101/error-codes/ for information on what the error codes represent for the docusign api.

and you might want to check the common error FAQ at https://developers.docusign/docs/esign-rest-api/esign101/error-codes/troubleshooting-common-errors/

本文标签: