zulip/templates/zerver/api/common-error-payloads.md

352 B

Sample payloads for common errors

Invalid API key

A typical failed JSON response for when the API key is invalid:

{generate_code_example|invalid-api-key|fixture}

Missing request argument(s)

A typical failed JSON response for when a required request argument is not supplied:

{generate_code_example|missing-request-argument-error|fixture}