Skip to main content

Error Response Format

All Aegis errors follow a consistent JSON structure:

HTTP Status Codes

Common Error Codes

Authentication Errors

Policy Errors

Wallet Errors

Connect Errors

Validation Errors

Wealth Engine Errors

Handling Errors in Your Agent

When building an AI agent integration, handle errors gracefully:
For transient errors (429, 500, 502), implement exponential backoff with a maximum of 3 retries. For permanent errors (400, 401, 403), do not retry — fix the request.