Skip to content

Unauthorized

Problem type https://help.orderhi.com/partner-api/problems/unauthorized
HTTP status 401

Meaning

The API key is missing, invalid or revoked.

Typical causes

  • The Authorization header is missing or not in the format Bearer <api_key>.
  • The key was copied incorrectly (for example with a space or line break).
  • The key was revoked or rotated by OrderHi.

How to fix it

  • Send Authorization: Bearer <api_key>.
  • Check the key for spaces and line breaks.
  • If you suspect the key was revoked, request a new one: [email protected].

Example response

The response has the content type application/problem+json.

{
  "type": "https://help.orderhi.com/partner-api/problems/unauthorized",
  "title": "Unauthorized",
  "status": 401,
  "detail": "The API key is missing, invalid or revoked."
}

All problem types · Deutsche Version