Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 3.7.0 Rate limit response #501

Open
alkesh26 opened this issue Jul 15, 2024 · 0 comments
Open

Version 3.7.0 Rate limit response #501

alkesh26 opened this issue Jul 15, 2024 · 0 comments

Comments

@alkesh26
Copy link

alkesh26 commented Jul 15, 2024

I am using 3.7.0 version of ruby-openai.
In case of any error when executing client.chat(...) the response body is as below:

{
    "error": {
        "message": "You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.",
        "type": "insufficient_quota",
        "param": null,
        "code": "insufficient_quota"
    }
}

The error code: insufficient_quota refers to the low balance or credit in the account.
What is the error code when we hit the Rate limit?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant