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

Too many requests for url #19

Closed
markkhusid opened this issue Feb 12, 2023 · 2 comments
Closed

Too many requests for url #19

markkhusid opened this issue Feb 12, 2023 · 2 comments

Comments

@markkhusid
Copy link

Getting this error:

raise_for_status │
│ │
│ 1018 │ │ │ ) │
│ 1019 │ │ │
│ 1020 │ │ if http_error_msg: │
│ ❱ 1021 │ │ │ raise HTTPError(http_error_msg, response=self) │
│ 1022 │ │
│ 1023 │ def close(self): │
│ 1024 │ │ """Releases the connection back to the pool. Once this method has b │
│ │
│ ╭──────────────────────────────────── locals ────────────────────────────────────╮ │
│ │ http_error_msg = '429 Client Error: Too Many Requests for url: │ │
│ │ https://api.openai.com/v1/completio'+2 │ │
│ │ reason = 'Too Many Requests' │ │
│ │ self = <Response [429]> │ │
│ ╰────────────────────────────────────────────────────────────────────────────────╯ │
╰────────────────────────────────────────────────────────────────────────────────────╯
HTTPError: 429 Client Error: Too Many Requests for url:
https://api.openai.com/v1/completions

Is the server too busy?

@TheR1D
Copy link
Owner

TheR1D commented Feb 13, 2023

Usually it happens because of OpenAI API limitations. You can read more about request limits here
You can track your usage in the dashboard
Note that limitation applies on both OpenAI's playground and this tools which is using their API.
You can still use sgpt after a while, when daily limits will be refreshed.

Duplicate #13

@mudomau
Copy link

mudomau commented Feb 13, 2023

I was having the same issue. Checked my dashboard, turns out I had an 18$ free trial for the API, which expired last year... so to use this you would need to register and buy more API credit. Oh well.

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

3 participants