Source: docs/integration/errors.md

API Errors (MVP)

Format

{
  "error": "Human readable message",
  "code": "MACHINE_CODE"
}

The HTTP channel (POST /v1/channels/http/messages) returns its error as an

object:

{
  "error": {
    "code": "VALIDATION_ERROR",
    "message": "..."
  }
}

For each endpoint, the OpenAPI contract is authoritative

for the exact status codes and response schema.

Main codes

400 BAD_REQUEST

401 UNAUTHORIZED

403 FORBIDDEN

404 NOT_FOUND

405 METHOD_NOT_ALLOWED

409 CONFLICT

413 PAYLOAD_TOO_LARGE

422 VALIDATION_ERROR

500 INTERNAL_ERROR

503 SERVICE_UNAVAILABLE

only according to the host application's retry policy.