HTTP Error Codes Reference
Status Code | Description |
---|---|
400 Bad Request | The request format is incorrect or cannot be understood by the server. This typically indicates a client error. |
401 Unauthorized | API key authentication failed. You need to verify that your API key is correct. Other reasons generally involve insufficient permissions. |
403 Forbidden | Generally indicates insufficient permissions. |
404 Not Found | The requested resource was not found. You may be attempting to access an endpoint that doesn’t exist. |
413 Request Entity Too Large | The request body is too large. You may need to reduce the size of your request payload. |
429 Too Many Requests | Due to frequent requests exceeding limits, you have exceeded your rate limit. |
500 Internal Server Error | An error within the server. This may be an issue with the OpenAI server, not your problem. |
503 Service Unavailable | The server is temporarily unavailable. This may be due to OpenAI performing maintenance or server overload. |