200 OK from /v1/responses but body times out (UND_ERR_BODY_TIMEOUT)

,

I’m seeing a frequent failure when calling the Responses API that looks like a client-side body timeout even though the API returns 200 OK.

Stack

  • Node.js (v22, using built-in fetch and undici)

  • ai@6.0.7

  • @ai-sdk/openai@3.0.2

  • @ai-sdk/provider-utils@4.0.2

  • Model: gpt-5.2-2025-12-11

What happens

  • OpenAI responds with 200 OK

  • Headers arrive successfully

  • While reading the response body, undici aborts with BodyTimeoutError (UND_ERR_BODY_TIMEOUT)

  • The AI SDK then throws Failed to process successful response because the body is undefined

Key error excerpt

APICallError: Failed to process successful response
cause: TypeError: terminated
cause: BodyTimeoutError: Body Timeout Error (UND_ERR_BODY_TIMEOUT)

statusCode: 200
url: https://api.openai.com/v1/responses
responseBody: undefined

Response headers (partial)

content-type: application/json
transfer-encoding: chunked
openai-processing-ms: 2459
x-request-id: req_097e64f2e839478ebf5f2e737b1fad55

1 Like

I’m experiencing the same issue

I’m shocked there aren’t any other posts about this yet - it’s been happening with alarming frequency. When did you start noticing issues?

Just to confirm, what happens if you make a call to the OpenAI API using one of the official SDKs, or even a simple curl request?
I have not worked with the AI SDK yet. Is there a community where similar issues are being reported?

Regardless of the outcome, I will monitor the community to see if additional reports come in.

We have been facing something very similar when calling via OpenAI SDK itself.
response = client.responses.create(**request_params)
But the response is never received although HTTP 200 OK logs comes for the same.

1 Like

I’m raising this with the team so they can take a closer look. To help us escalate this properly, could you please confirm that you haven’t set unusually low timeout values on your side, and whether this is a new issue for you?

Thanks for your understanding. This information will make it easier to get the right attention on the problem, as these are among the first questions that will need to be answered anyway.

1 Like