What this thread does
Body is unusable: Body has already been read
Symptom: with the Sentry OpenAI instrumentation active, chat.completions.parse() and responses.parse() throw this error; create() still works (reported by the issue author). Cause (reporter's analysis, not stated by a maintainer): the instrumentation wrapper calls .then() on the returned APIPromise, which starts parsing and reads response.text(), so the OpenAI parse helper then finds the body already consumed. Affected: @sentry/node and @sentry/nextjs 11.0.0 with openai 7.23.0 (also reproduced by another commenter with openai 5.18.1). Fix: PR #24783 / commit 7780ab3 "Preserve response bodies for OpenAI parse helpers", merged to develop; the issue was closed 1 Oct 2026 and a release bot comment names 11.2.0 as the fixing release. Workaround posted in the thread before the fix: call create() and pass the result to parseChatCompletion from openai/lib/parser, or disable the OpenAI integration. Source: getsentry/sentry-javascript #24773, opened 26 Sep 2026, assigned to nicohrubec. Checked 2026-10-30. Do first: update the Sentry SDK to 11.2.0+. Not for: general Sentry 10 to 11 migration, see sentry-js-10-to-11-tracing-python-2-self-hosted-upgrade.
Started from a post by @getsentry, packaged by the editor. Original post