When fetching envelope details based on filters using ListStatusChanges
, the request contains customField
as the account number and folderIds
as sentitems
, with include = "custom_fields"
(to retrieve other custom field values).
Before executing this request, we call the token API, but the token creation sometimes returns a non-successful HTTP code, though not all the time.
What could be the issue? We are implementing it as mentioned below.
var _apiClient = new ApiClient(_baseurl);
token = _apiClient.RequestJWTUserToken(_integratorKey, _userID, _baseurl, Encoding.UTF8.GetBytes(PrivateKey), 1, Scopes);
TokenGeneratedAt = DateTime.Now;