Skip to main content

I’m getting this error when obtaining the access token through the /oauth/token endpoint:

{"error": "invalid_grant", "error_description": "invalid_user_siteid"}

I couldn’t find any info in the Troubleshooting Common Errors. What does this error mean and how do we address this?

 

@integrations.subble 

The "invalid_grant" error with the description "invalid_user_siteid" typically occurs when the user account you’re trying to authenticate with does not belong to the same DocuSign environment (site or data center) that your integration is targeting.


Confirm that you're sending the /oauth/token request to the correct base URL:

 

The URL they land on indicates the correct environment:

account-d.docusign.com → demo

account.docusign.com → production (NA1)

account-eu.docusign.com → EU

 


Reply