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

exceeded the quota #523

Open
AKD08 opened this issue Aug 4, 2024 · 0 comments
Open

exceeded the quota #523

AKD08 opened this issue Aug 4, 2024 · 0 comments

Comments

@AKD08
Copy link

AKD08 commented Aug 4, 2024

File "E:\Python\Python 312\Lib\site-packages\openai_base_client.py", line 1584, in _request
raise self._make_status_error_from_response(err.response) from None
openai.RateLimitError: Error code: 429 - {'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': None, 'code': 'insufficient_quota'}}←[0m
ERROR:src.log:Error while switching persona: Error code: 429 - {'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': None, 'code': 'insufficient_quota'}}
Traceback (most recent call last):
File "C:\Users\akd33\OneDrive\Desktop\chatGPT-discord-bot-2.1.2\chatGPT-discord-bot-2.1.2\src\bot.py", line 200, in switchpersona
await discordClient.switch_persona(persona)
File "C:\Users\akd33\OneDrive\Desktop\chatGPT-discord-bot-2.1.2\chatGPT-discord-bot-2.1.2\src\aclient.py", line 126, in switch_persona
await self.handle_response(personas.PERSONAS.get(persona))
File "C:\Users\akd33\OneDrive\Desktop\chatGPT-discord-bot-2.1.2\chatGPT-discord-bot-2.1.2\src\aclient.py", line 109, in handle_response
response = await self.openai_client.chat.completions.create(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Python\Python 312\Lib\site-packages\openai\resources\chat\completions.py", line 1181, in create
return await self._post(
^^^^^^^^^^^^^^^^^
File "E:\Python\Python 312\Lib\site-packages\openai_base_client.py", line 1790, in post
return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Python\Python 312\Lib\site-packages\openai_base_client.py", line 1493, in request
return await self._request(
^^^^^^^^^^^^^^^^^^^^
File "E:\Python\Python 312\Lib\site-packages\openai_base_client.py", line 1569, in _request
return await self._retry_request(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Python\Python 312\Lib\site-packages\openai_base_client.py", line 1615, in _retry_request
return await self._request(
^^^^^^^^^^^^^^^^^^^^
File "E:\Python\Python 312\Lib\site-packages\openai_base_client.py", line 1569, in _request
return await self._retry_request(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Python\Python 312\Lib\site-packages\openai_base_client.py", line 1615, in _retry_request
return await self._request(
^^^^^^^^^^^^^^^^^^^^
File "E:\Python\Python 312\Lib\site-packages\openai_base_client.py", line 1584, in _request
raise self._make_status_error_from_response(err.response) from None
openai.RateLimitError: Error code: 429 - {'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': None, 'code': 'insufficient_quota'}}

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