Django/DRF
openai.RateLimitError: Error code: 429 - {'error': {'message': 'You exceeded your current quota, please check your plan and billing details.', 'type': 'insufficient_quota', 'param': None, 'code': 'insufficient_quota'}}
Jong_seoung
2023. 11. 28. 11:54
반응형
openai.RateLimitError: Error code: 429 - {'error': {'message': 'You exceeded your current quota, please check your plan and billing details.', 'type': 'insufficient_quota', 'param': None, 'code': 'insufficient_quota'}}
django에서 openai를 이용하여 GPT를 사용하려고 하니 위와 같은 에러가 발생하였다.
발생 원인
api_key가 잘못된줄알았는데 카드 등록및 리미트 설정, 결제를 하지 않아서 발생한 문제이다.
해결방법
GPT 홈페이지에서 카드 등록 리미트 설정, 결제를 해주면 해결 된다.
반응형