Skip to main content

Error Codes

This reference lists all error codes returned by the AgentGate API.

Error Response Format

Authentication Errors (401)

Example

Authorization Errors (403)

Example

Validation Errors (400)

Example

Payment Errors (402)

Example

Not Found Errors (404)

Example

Rate Limit Errors (429)

Example

Headers included:

Server Errors (5xx)

Example

Include the requestId when contacting support about server errors.

Run Error Codes

These codes appear in failed run results, not API responses.

Example (in run result)

Handling Errors

See Error Handling Guide for best practices.