error.type, and error.code. Batch event sends can add accepted, failed_index, and unconfirmed_index. See Session events.
For provider deliveries at POST /v1/incoming/{binding_id}, the endpoint returns { "error": "Invalid or expired signature." } with 401 when signature verification fails. Use the HTTP status to handle delivery errors.
Status codes
A
202 is not an error; it is a pending receipt (or background Vault/Credential erasure).
Error codes
Retries
Retry429, 500, 503, and network errors with backoff. Retry a write only with the same Idempotency-Key and body, and honor Retry-After or Retry-After-Ms when present.
SDK error classes
API errors carry
status, errorType, message, requestId, headers, and body.
A failed MCP tool call returns isError: true with the error envelope as text. The CLI maps failures to its exit codes.