Errors

Errors are returned as JSON with an error string and optional details.

{ "error": "invalid_token" }

Common status codes