ModulesAI ModuleErrors

Errors

Sometimes things don’t go as planned! When an API request fails, Antarctica.io will return an error code so that your app knows what went wrong.

Here is a list of the exact HTTP error codes we use, what they mean, and how you can fix them.

CodeMeaningHow to fix
400Validation ErrorYou forgot to send a required field (like tokens), or you sent a string when we expected a number. Check your data!
401Authentication ErrorYour API Key is missing or incorrect. Make sure you pasted it correctly in the Authorization header.
402Paywall ErrorYour account limit is over or payment is required. Log into the Dashboard to upgrade.
403Forbidden ErrorYour API key is valid, but it doesn’t have permission to do this action.
404Not Found ErrorYou hit a URL that doesn’t exist. Make sure you are sending data to /v1/telemetry/usage.
429Rate Limit ErrorWhoa there! You are sending data too fast. Wait a moment and try again.
500Internal Server ErrorThis means we broke something, or the database is down. Let us know!

Example of an Error Response

If you get an error, the body of the response will give you a helpful message.

{
  "error": "Validation failed: \"request.modelId\" is required"
}