Status CodeDescription
400 Bad RequestThe request format is incorrect or cannot be understood by the server. This typically indicates a client error.
401 UnauthorizedAPI key authentication failed. You need to verify that your API key is correct. Other reasons generally involve insufficient permissions.
403 ForbiddenGenerally indicates insufficient permissions.
404 Not FoundThe requested resource was not found. You may be attempting to access an endpoint that doesn’t exist.
413 Request Entity Too LargeThe request body is too large. You may need to reduce the size of your request payload.
429 Too Many RequestsDue to frequent requests exceeding limits, you have exceeded your rate limit.
500 Internal Server ErrorAn error within the server. This may be an issue with the OpenAI server, not your problem.
503 Service UnavailableThe server is temporarily unavailable. This may be due to OpenAI performing maintenance or server overload.