Sporadically I am getting this error when using the structured outputs API (snippet below of what’s actually run). Most of the time it works, but then every one in twenty it doesn’t work…
I’m not calling the URL directly I’m using the code snippet mentioned above from the Python structured output API from client version 1.84. Generating a URL is not in my prompt.
Your code is dumping out from in a function, one that may only be called occasionally, and you don’t show the setup of the client, which can be passed a different URL.
Ensure that there is not a single occurrence of “engines” anywhere in your code.
Then we’d have to assume that somebody at OpenAI did some “vibe coding” on the Responses endpoint internal calls to chat completions itself.
I also started getting the same error since 24 hrs from now. It was more frequent in the start but still getting this sometimes. We have not made any changes to our pipelines and do not have engines anywhere in our code neither do we use have our AI dynamically write URLs!
GMT : Saturday, June 7, 2025 1:13:06 AM My time zone : Saturday, June 7, 2025 8:13:06 AM GMT+07:00
I hope I understood you correctly, and that this helps you fix the issue soon.
Maybe I am misunderstanding your request, but based on the error, the response never completes. Would this still result in a response_id if the call is routed to the wrong endpoint (whether the error stems via DNS or within the OpenAI Python package)? I can pull up many instances of this occurring in our logs, but we never get to the returned response data.