error and message. This is not RFC 7807 Problem Details (application/problem+json). Clients should read error and message on the JSON body.
Error format
HTTP statuses
GET /v1/oauth/authorize may redirect to Account Portal login when the brand has no session, instead of returning a JSON error.
Error values
Theseerror strings are returned by the public OpenAPI:
Generic authentication failures use
unauthorized (or 401 with that body). Treat unknown error values as failures and surface message when present.
See Authentication for credential headers and the OAuth token flow.
