Skip to main content
Solved

API integration

  • October 22, 2024
  • 1 reply
  • 69 views

Forum|alt.badge.img+1

Hi team,

i have this error:

Error:
"Error while requesting server, received a non-successful HTTP code [400]"
Response Body:
O:8:"stdClass":2:{s:5:"error";s:13:"invalid_grant";s:17:"error_description";s:16:"issuer_not_found";}

We have created both the public and private keys, using the private key for authentication. We have also used the user ID and Integration Key, and the connection server set to account-d.docusign.com. It seems that we do not have the necessary permissions to connect.

Could you please assist in resolving this issue?

Thank you!

Best answer by Rafay.Khan

Hello,

Im a Developer Support Engineer from the DocuSign community to help assist with this error code.

This error code typically means either your endpoint is connected to the wrong endpoint, whether it be account-d.docusign.com or a production endpoint https://{server}.docusign.net/restapi...

 

An issues such as this could even cause the problem:

account.docusign.com while requesting a token from https://account-d.docusign.com/oauth/token.(Referenced in our article:https://support.docusign.com/s/articles/DocuSign-Developer-FAQs-General-Administration-and-Authentication?language=en_US)

 

It's likely trying to make the token creation in a different environment (production) than where the ikey resides (demo).

https://{{hostenv}}/oauth/token

If this doesn’t solve the error, please create a case with our Developer Support Dev/API team and we will further assist and resolve the issue at hand.

 

Best,

Dev/API team.

View Original
Is this content helpful?

1 reply

Forum|alt.badge.img+3
  • Docusign Employee
  • 21 replies
  • Answer
  • October 23, 2024

Hello,

Im a Developer Support Engineer from the DocuSign community to help assist with this error code.

This error code typically means either your endpoint is connected to the wrong endpoint, whether it be account-d.docusign.com or a production endpoint https://{server}.docusign.net/restapi...

 

An issues such as this could even cause the problem:

account.docusign.com while requesting a token from https://account-d.docusign.com/oauth/token.(Referenced in our article:https://support.docusign.com/s/articles/DocuSign-Developer-FAQs-General-Administration-and-Authentication?language=en_US)

 

It's likely trying to make the token creation in a different environment (production) than where the ikey resides (demo).

https://{{hostenv}}/oauth/token

If this doesn’t solve the error, please create a case with our Developer Support Dev/API team and we will further assist and resolve the issue at hand.

 

Best,

Dev/API team.