Errors and retries
When to fix the request and when to try again.
Read the error
{
"detail": "external_id is required"
}Most errors return a detail message. Validation errors can return a list of field problems.
| Status | What to do |
|---|---|
| 400 · Bad request | Check required fields, the event type and conversation_id |
| 401 · Unauthorised | The credential is missing, wrong or revoked |
| 403 · Forbidden | Check your plan and permissions |
| 404 · Not found | Check the resource belongs to this workspace |
| 409 · Conflict | The same external_id is still processing; retry shortly |
| 413 · Too large | Make the message or metadata smaller |
| 422 · Validation error | Fix the fields listed in detail |
| 429 · Too many requests | Slow down and honour Retry-After |
| 503 · Unavailable | Retry with backoff |
Retry without duplicates
Use exponential backoff with jitter. Reuse the original external_id for the same event. A duplicate response means it already worked, so don't create a new ID just to retry.