⚠️ Note: This document provides comprehensive explanations for common API error codes. For general API guidelines, please refer to /Documentation/en/Developer/API/Overview.
Common Error Codes
Code | Description | Example |
---|---|---|
400 | Bad Request | {"error": "Invalid request parameters"} |
401 | Unauthorized | {"error": "Missing or invalid authentication token"} |
404 | Not Found | {"error": "Resource not found at /api/data/123"} |
500 | Internal Server Error | {"error": "Unexpected server error", "code": 500} |
Error Code Details
400 - Bad Request
This error occurs when the client sends an invalid request.
Tip: Always validate input data before sending requests.
401 - Unauthorized
Authentication is required to access the resource.
Action: Check your API key or token validity.
404 - Not Found
The requested resource does not exist on the server.
Debug: Verify the endpoint URL and resource ID.
500 - Internal Server Error
A generic error occurred on the server side.
Support: Contact our team for further assistance.
Further Reading
- /Documentation/en/Developer/API/Best_Practices for error handling recommendations
- /Documentation/en/Developer/API/Status_Codes for a full list of HTTP status codes