Where to find all values of error type?

Hi,

Where to find all values of error type?

I.e. for insufficient quota I’ve got following json

entity: {
    "error": {
        "message": "You exceeded your current quota, please check your plan and billing details.",
        "type": "insufficient_quota",
        "param": null,
        "code": null
    }
}

The page “Error codes” contains only http-codes and Python library error types - OpenAI API

So, where is a list of all values for field “type”?

Or values of field “type” meaningless and I have to use http-codes only?

Thanks,
Sergio

1 Like

This error is covered under code 429 on the link you shared.

429 - You exceeded your current quota, please check your plan and billing details
Cause: You have hit your maximum monthly spend (hard limit) which you can view in the account billing section.
Solution: Apply for a quota increase.

chatGPT, please summary the question:

chatGPT:

The question is asking where to find a comprehensive list of all error types for a particular API or service. The provided example shows an error message with a specific error type of “insufficient_quota”. The “Error codes” page mentioned only contains HTTP status codes and Python library error types, which may not include a list of all possible error types for the API or service being used. The question is asking whether the “type” field is meaningful and if a list of its values can be found or if it is necessary to rely on HTTP status codes only.

1 Like

That link gives two very different meanings for 429:

429 - Rate limit reached for requests

429 - You exceeded your current quota, please check your plan and billing details

1 Like