Troubleshooting API calls

Learn how to resolve problems with API calls.

Note: The examples in this section use your_access_token as a placeholder for an actual token.

401 Error


A 401 error occurs when there is a bad Dispatch token or Global Commerce User API token.


Send an API call to identify where the token originated and when it expired. For example:

GET /oauth20/access-tokens?token=your_access_token  HTTP/1.1

The response shows you where the token originated in the domain field and when it expired in the expiresIn field.

Last updated