Request failed with status code 400

Thanks for coming back to let us know. May your answer help someone in the future…

2 Likes

Same issue appear. Using retool chat with my OpenAI key. I just filled up credit balance and all limits are ok. Its not working in Retool

I am having the same issue. My code hasn’t changed and everything looks good. It just stopped working. I am getting 400, and working randomly at rare times. This is definitely an issue with open AI’s end. I tried using the simplest prompts and it still fails with 400 createError. I am using Node.js from Firebase. I triple checked that everything is how it should be.

Edit: there seems to be a regression on OpenAI’s end: [Regression] createChatCompletion OpenAI API Fails with "name" field in messages. I created a new topic.

2 Likes