Common Errors

Common Error Cases

400 Bad Request

  • Cause: Malformed JSON or missing required fields in the request.

  • Example Response:

{
  "error": "Invalid request format. Please check your JSON syntax."
}

401 Unauthorized

  • Cause: Missing or invalid API key.

  • Example Response:

{
  "error": "Unauthorized. Please provide a valid API key."
}

404 Not Found

  • Cause: Incorrect endpoint or model name not found.

  • Example Response:

{
  "error": "Resource not found. Please verify the endpoint or model name."
}

429 Too Many Requests

  • Cause: Exceeding allowable usage rates or hitting rate limits (if any future limits are applied).

  • Example Response:

{
  "error": "Too many requests. Please try again later."
}

500 Internal Server Error

  • Cause: Unexpected server-side error.

  • Example Response:

{
  "error": "Internal server error. Please try again later."
}

Notes

  • Always validate your input data before sending requests.

  • In case of consistent errors, contact support with request and response examples for faster troubleshooting.

Last updated