After changing my development account to a production account, the last step was to get this authorization code. I allowed access (granted permission) and tested it in Postman. I keep receiving this 400 error “Invalid Grant” “ Unauthorized Client”.
Has anyone encountered this error before?
Best answer by JohnSantos
@LWMyer
The error message "invalid_grant" with the description "unauthorized_client" typically occurs during the OAuth 2.0 authorization process, indicating that there is an issue with the client credentials or permissions.
Also, make sure you are using the correct grant type. The error suggests that there might be a mismatch in the grant type being used and what is expected. Typically, this error is seen when using the Authorization Code Grant.
Can you confirm you followed the go-live process to promote the integration key to the production environment? You also need to update the user Id, the account Id and the base URI to production as all of these values will be different to the demo environment.
You need to do all steps, including consent again in the production environment after the promotion of the integrator key.
The error message "invalid_grant" with the description "unauthorized_client" typically occurs during the OAuth 2.0 authorization process, indicating that there is an issue with the client credentials or permissions.
Also, make sure you are using the correct grant type. The error suggests that there might be a mismatch in the grant type being used and what is expected. Typically, this error is seen when using the Authorization Code Grant.
You can login or register as either a Docusign customer or developer. If you don’t already have a Docusign customer or developer account, you can create one for free when registering.
You can login or register as either a Docusign customer or developer. If you don’t already have a Docusign customer or developer account, you can create one for free when registering.