All of my APIs are currently down using the Assistants API. I can see the messages are added to the thread but when my serverless functions attempt to run the thread we get:
Error code: 500 - {‘error’: {‘message’: ‘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 req_… in your email.)’, ‘type’: ‘server_error’, ‘param’: None, ‘code’: None}}
Traceback (most recent call last):
File "<pyshell#7>", line 1, in <module>
run = client.beta.threads.runs.create_and_poll(
File "C:\Program Files\Python313\Lib\warnings.py", line 637, in wrapper
return arg(*args, **kwargs)
File "C:\Program Files\Python313\Lib\site-packages\openai\resources\beta\threads\runs\runs.py", line 831, in create_and_poll
run = self.create( # pyright: ignore[reportDeprecated]
File "C:\Program Files\Python313\Lib\warnings.py", line 637, in wrapper
return arg(*args, **kwargs)
File "C:\Program Files\Python313\Lib\site-packages\openai\_utils\_utils.py", line 287, in wrapper
return func(*args, **kwargs)
File "C:\Program Files\Python313\Lib\site-packages\openai\resources\beta\threads\runs\runs.py", line 569, in create
return self._post(
File "C:\Program Files\Python313\Lib\site-packages\openai\_base_client.py", line 1259, in post
return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
File "C:\Program Files\Python313\Lib\site-packages\openai\_base_client.py", line 1047, in request
raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 500 - {'error': {'message': '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 req_9f927ba0110c74a03f49cb92f2f86e10 in your email.)', 'type': 'server_error', 'param': None, 'code': None}}
I was unfortunately on a customer call with them trialing a product that uses the Assistants API. I told them there is down-time but I am in an industry with little tolerance for that. Hopefully OpenAI can get this fixed ASAP.