Errors
INVALID_API_KEY
The API key is missing, malformed or unknown.
401UnauthorizedRetry No, not with the same key.
What happened
Section titled “What happened”The request could not be authenticated: the Authorization header is missing, does not have the form Bearer <api_key>, or holds a key the service does not know. The response carries WWW-Authenticate: Bearer.
What to do
Section titled “What to do”Send exactly one header Authorization: Bearer <api_key>. Check that the key was copied completely and has not been replaced. Never send the key in the URL.
Example detail
Section titled “Example detail”The Authorization header must have the form: Bearer <api_key>.The wording of detail can change. Branch on code, never on detail.