chatgpt-api: ChatGPT error 500, type: auth_subrequest_error
Verify latest release
- I verified that the issue exists in the latest
chatgptrelease
Verify webapp is working
- I verify that the ChatGPT webapp is working properly for this account.
Environment details
npx tsx demos/demo.ts
Describe the Bug
✖ Write a python version of bubble sort. Do not include example usage. ChatGPTError: ChatGPT error 500: { “error”: { “message”: “Internal server error”, “type”: “auth_subrequest_error”, “param”: null, “code”: “internal_error” } }
at <anonymous> (....../src/chatgpt-api.ts:295:29)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 4
- Comments: 15 (5 by maintainers)
Update: this is apparently an outage with the official OpenAI API, and they are working to resolve the problem.
Details: https://status.openai.com/incidents/mq5jgswy45fr
@kaltoIacono this will happen sometimes when OpenAI’s API is having issues. It is usually brief and out of our control.
Also, the example you posted is for python, which is not this lib.
I was able to reproduce again
openai.error.APIError: Internal server error { “error”: { “message”: “Internal server error”, “type”: “auth_subrequest_error”, “param”: null, “code”: “internal_error” } }