Skip to main content
Every refusal is an HTTP status and a body of the form {"detail": {"code": ..., "message": ...}}. Branch on detail.code; it is stable. See Errors for the format, how to handle a code you do not know, and troubleshooting. “Env.” says where a code can occur: both environments, or prod (production only).