Error codes
The standard error envelope, what each status means, and how to respond
Every error returns the same shape. requestId matches the x-request-id response header, so quote
it when reporting a problem.
In non-production environments the envelope may carry a details field with validation issues or the
upstream Auth0 response. It is suppressed for server errors in production.
Status codes
A 401 from Auth0 to the proxy surfaces as 502, not 401. A 401 you receive always refers to
your own token.
Which errors are worth retrying
Common messages
Reporting a problem
Include the request id, the timestamp with its timezone, the environment, the method and path, and the status you received. The request id is the fastest way to find the matching log line.