Error shape
Failures return an MCP error result whose content is a structured JSON body:Error codes
Before the run starts
These fail preflight. No execution is created and no credits are consumed.During execution
These happen after a run exists, so the run is inspectable in the dashboard and API.Warning codes
Warnings appear in thewarnings array on successful calls. The array is always present, often empty.
Handling errors in an agent
retryable is true, and poll when next_step appears.
Transport-level errors
Connection failures return HTTP status codes rather than tool error bodies:
These mean the connection itself is misconfigured. See Connect your client.
Debugging with request_id
Every response carries arequest_id, and every run carries a run_id. Together they locate a call precisely:
request_id when reporting an issue—it is the fastest way to find the call in Titan’s logs.
Next steps
- Idempotency and retries — retry safely
- Limits and safety — what triggers
limit_exceededandunsafe_url - HTTP errors and exceptions — the REST API equivalents