TRUST8004 / DOCS
API guides

Errors and retries

Respond safely to validation, throttling, payment, and service errors.

StatusMeaningClient action
400Invalid inputCorrect the request; do not retry unchanged.
402x402 payment requiredSelect an accepted payment option and retry with the payment signature.
404Resource not foundVerify both chain ID and agent ID.
429Rate limit reachedBack off and retry with jitter.
5xxTemporary service failureRetry a bounded number of times with exponential backoff.

Never retry immediately in a tight loop. For writes or paid requests, retain enough request state to avoid unintentionally repeating a settled operation.