Status 401
API token is not valid
api_token_invalid
When it happens
The token has a wrong format, its checksum does not match or there is no such token.
What to do
Check that the whole token was copied. Issue a new token in the app settings of the store if needed.
Can’t find the answer, or the error keeps coming back? Write to us and quote the X-Request-Id from the response so we can find the request. Contact us
Endpoints that return it
A common error: it is not tied to particular endpoints, and almost any call can return it.
Response body
application/problem+json · Problem
typestringrequiredMachine type of the problem: a stable code to branch on, such as insufficient_scope. Every type has a page in the error catalog.
titlestringrequiredShort summary of the problem in the language of the request.
statusintegerrequiredHTTP status of the response.
detailstringExplanation of this occurrence in the language of the request.