Skip to main content

Error bodies

Errors are JSON with a _tag naming the error and a message written to be read by a person or a model. Some carry more fields, such as the missing scope.
Each operation’s possible errors are listed with their schemas in the API reference.

Status codes

Rate limits and retries

When you send too much at once, or Avazal or an upstream service such as Slack is busy, you get 429 or 503 with a Retry-After header in seconds. Wait that long, then retry the same request. Some 429 bodies also carry retryAfterSeconds with the same value. Retrying is always safe for read operations. A 429 means the call was turned away, so it is safe to retry any operation after one. After a 500, a 503 or a timeout on an inApp or outward operation, read the object first to check whether the call went through before trying again, so you don’t post or send twice.

Trace ids

Every response has a x-trace-id header, and 500 bodies repeat it as traceId. Include it when you report a problem.