Error code: 401 - {'error': {'message': 'Authentication Error, InsufficientBalan...
错误信息
openai.AuthenticationError: Error code: 401 - {'error': {'message': 'Authentication Error, InsufficientBalance: User has insufficient balance. Balance=0.0', 'type': 'auth_error', 'param': 'None', 'code': '401'}}
During task with name 'orchestrator' and id '16bb836a-4316-aa9c-3e14-e9df7cdbcd9c'
During task with name 'orchestrator_worker' and id '615dcde4-520a-f82f-460b-6a405417c880'
AI 解决方案
openai.AuthenticationError: Error code: 401 - {'error': {'message': 'Authentication Error, InsufficientBalance: User has insufficient balance. Balance=0.0', 'type': 'auth_error', 'param': 'None', 'code': '401'}}
openai.AuthenticationError: 错误代码: 401 - {'error': {'message': '认证错误,余额不足:用户余额不足。余额=0.0', 'type': 'auth_error', 'param': 'None', 'code': '401'}}
- 原因分析:
- 解决方案:
- 预防措施:
- 在调用API前,检查账户余额是否充足。
- 设置API调用额度提醒,避免余额耗尽。
账户余额为零,无法调用OpenAI API。
请为您的OpenAI账户充值。