External Publication
Visit Post

Sudden (since 06.10.2026) failure in eu.api.openai.com - Invalid URL (POST /v1/realtime/sessions)

OpenAI Developer Community June 12, 2026
Source

Thanks Viet, i was able to fix it with EU URL yesterday. All are working now with EU http endpiont and initiate the session. It was my mistake that I thought http call worked with EU but it never worked and my collegue removed the code I added. following are the summary of the fix, if someone else can learn from it,

The issue was on our side. We were calling POST /v1/realtime/sessions (the beta endpoint) which OpenAI has retired. The fix was to migrate to the GA endpoint:

- URL: /v1/realtime/client_secrets (not /v1/realtime/sessions)

- Body: config must be wrapped in { session: { model, type: “realtime”, … } } — model and type go inside the session object

- WebSocket: remove the OpenAI-Beta: realtime=v1 header when connecting with the ephemeral key

- Response: the ephemeral token is at response.value (not response.client_secret.value)

Works on both US (api.openai.com) and EU (eu.api.openai.com) endpoints.

Discussion in the ATmosphere

Loading comments...