728x90
상황 :
openAI api 사용 중 에러. api 시크릿키값 발급받았고 환경변수 등록한 상태지만 결제는 하지 않았다.
에러메시지 :
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'
해결 :
openai 대시보드(아래 주소) 가서 카드 등록하고 결제하면 된다.
https://platform.openai.com/settings/organization/billing/overview
'Add payment details' 버튼 누르면 카드등록하는 화면 나온다.
그리고 다시 시크릿키 발급받아서 환경변수 등록하면 된다.
**참고 환경변수 등록(윈도우기준)
win + R
-> sysdm.cpl
고급 > 환경변수 > 새로만들기
: OPENAI_API_KEY를 변수이름으로 새로 만들고 값을 발급받은 키값을 넣어줌.
728x90
'IT기타' 카테고리의 다른 글
안드로이드 앱 개발 환경 셋업(react native) (1) | 2024.12.09 |
---|---|
React를 기반으로 한 웹 애플리케이션 (0) | 2024.12.09 |
VS Code의 터미널에서 Anaconda 환경을 추가 (0) | 2024.12.07 |
업비트 주문 api 중 'time_in_force' : IOC, FOK 설정 (0) | 2024.12.05 |
갤럭시 내장앱 소개- 음성 텍스트 변환(음성 받아쓰기) (0) | 2024.12.04 |