I’m getting from gpt-3.5-turbo error 500 for the second day in a row. At the same time, I can see on Openai status monitor that all services should be operational. Does anyone have similar issues? I have contacted Openai Help bot, but haven’t got any help.
Error: 500: OpenAI API error: The server had an error processing your request. Sorry about that! You can retry your request, or contact us through our help center at help.openai.com if you keep seeing this error. (Please include the request ID 37b1bdf62430adf46a53058e48db1481 in your email.)
Thanks for questioning my own code! The code worked fine before I changed stop: “” to stop:“\n”. Now I changed it back to stop: “” and it works again. By documentation both are fine. Weird!
Yes the api key is showing in the console.[quote=“Foxabilo, post:7, topic:90658, full:true”]
In your code you are returning error 500 if the API is not correctly configured. is the API key valid if you print it to console as a test?
[/quote]
I think what he is saying, is that you are coding any captured error to be “500” - and also returning number that look like, but aren’t, connection errors.
You’d want to get the actual http error and message, and compare if it’s the real error 500:
500 - The server had an error while processing your request Cause: Issue on our servers. Solution: Retry your request after a brief wait and contact us if the issue persists. Check the status page.