Error Responses
Our API uses standard HTTP status codes to indicate success or failure. All error responses return a structured JSON body that includes acode, message, and optionally, details.
Common HTTP Status Codes
Sample Error Response
Debugging Tips
- Check the
codeandmessagefields for immediate clarity on the error. - Use the
request_idwhen contacting support to help trace the exact call. - Ensure your
Content-Typeis set toapplication/jsonand all required fields are included.
Handling Rate Limits
If you receive a429 Too Many Requests, inspect the following response headers:
You should back off and retry after the reset window.
Retrying Safely
For paid endpoints, we recommend using Idempotency Keys to prevent duplicate billing during retries.Still Stuck?
If an error persists, contact us at support@antei.com and include:- The
request_idfrom the response - Your API key type (
liveorsandbox) - A short description of what you were trying to do