Troubleshooting

API Error Codes Guide: Troubleshooting and Solutions

View common error codes (400, 413, 429, 500) with detailed solutions to quickly identify and resolve issues.

2 min read

Common Error Codes

Here are the error codes you may encounter and their solutions:

400 Bad Request

Cause: Invalid request parameters

Solutions:

  • Check if the image file was uploaded correctly
  • Verify the image format is supported
  • Confirm the request format is correct

413 Payload Too Large

Cause: Uploaded image file is too large

Solutions:

  • Compress the image to under 10MB
  • Reduce image resolution
  • Use JPEG format to reduce file size

429 Too Many Requests

Cause: Request frequency exceeded limit

Solutions:

  • Reduce request frequency
  • Implement a request queue
  • Add appropriate delays between requests

500 Internal Server Error

Cause: Server internal error

Solutions:

  • Retry later
  • Contact us if the problem persists

Was this article helpful?

Visit ourHelp Center

Share: