{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreie4unpn5alddji632pxdlcddauxolwrheqrkpvnkmzyfxbbuoqtvm",
"uri": "at://did:plc:lk3jfj3zq4k4wxnk474axylu/app.bsky.feed.post/3mo4hreu6p2s2"
},
"path": "/t/sudden-since-06-10-2026-failure-in-eu-api-openai-com-invalid-url-post-v1-realtime-sessions/1383405#post_4",
"publishedAt": "2026-06-12T18:48:31.000Z",
"site": "https://community.openai.com",
"tags": [
"@lahiru.",
"@VeitB."
],
"textContent": "Thanks for circling back with the update @lahiru. Glad you were able to track it down and get things working again.\n\nAlso appreciate the investigation from @VeitB. The pointer about the deprecated Realtime preview API helped narrow the issue down quickly.\n\nFor anyone who finds this thread later, the root cause ended up being use of the retired beta session endpoint. The working migration was:\n\n * Use `POST /v1/realtime/client_secrets` instead of `POST /v1/realtime/sessions`\n * Wrap configuration as `{ session: { model, type: \"realtime\", ... } }`\n * Remove the `OpenAI-Beta: realtime=v1` header when connecting with the ephemeral key\n * Read the ephemeral token from `response.value`\n * Works with both `api.openai.com` and `eu.api.openai.com`\n\n\n\nThis is a great example of why sharing the final fix is so valuable. It will likely save others quite a bit of debugging time.\n\n-Mark G.",
"title": "Sudden (since 06.10.2026) failure in eu.api.openai.com - Invalid URL (POST /v1/realtime/sessions)"
}