Skip to content
Logo

Error Handling

All API errors return a structured problem detail object conforming to RFC 9457. This makes errors machine-readable and consistent across every endpoint.

Problem Detail Fields

FieldTypePresentDescription
typestringAlwaysA URI that identifies the problem type.
titlestringAlwaysA short, human-readable summary of the problem.
statusnumberAlwaysThe HTTP status code.
detailstringOptionalA human-readable explanation specific to this occurrence.
intentIdstringOptionalThe intent ID related to the error, if applicable.
fieldstringOptionalThe request field that caused the validation failure.

HTTP Status Codes

StatusMeaningTypical Scenarios
400Bad RequestMalformed JSON or missing required headers.
401UnauthorizedMissing x-api-key header.
403ForbiddenInvalid API key, or the key's environment does not match the requested chain.
404Not FoundResource does not exist for the given ID.
409ConflictResource state conflicts with the requested operation.
422Unprocessable ContentValidation failure, blockchain simulation failure, or unsupported chain.
429Too Many RequestsRate limit exceeded. Retry after the Retry-After header value.
500Internal Server ErrorUnexpected server-side failure. Contact support if persistent.