Errors
HTTP status codes, error codes, and recommended handling.
Every error response shares a common JSON shape:
Every response — success or error — also includes a Request-Id header. Log it; Agora support uses it to trace requests end-to-end.
When the API returns a 400 status and the parameter_invalid code, the body will include a context.issues array describing each validation failure:
Illustrative example. The fields shown above are illustrative — current endpoints take no parameters. The context.issues shape is stable across every endpoint that emits parameter_invalid.
code, never on message. Messages are human-readable and may change without notice.code together fully disambiguate every error.Request-Id header. It is the single best lever for diagnosing issues with Agora support.Retry-After when present.