boundless-author-7811
04/07/2026, 5:23 AM{
"message": "OpenAI Realtime API returned an error",
"level": "ERROR",
"name": "livekit.plugins.openai",
"error": "RealtimeError(message=\"Unknown parameter: 'session.type'.\", type='invalid_request_error', code='unknown_parameter', event_id='session_update_5476eeb9e688', param='session.type')",
"pid": 92,
"job_id": "AJ_eAnBAP6a83se",
"room_id": "RM_mS4rgFGz2S4k",
"timestamp": "2026-04-07T04:54:57.952215+00:00"
}tall-airline-16756
04/07/2026, 5:23 AMtall-airline-16756
04/07/2026, 5:23 AMsession.type in the request coming from the LiveKit OpenAI plugin.
• OpenAI returned an invalid_request_error with code unknown_parameter, so session.type is not a recognized parameter for the endpoint/version you called.
What to check next
1. Confirm which OpenAI Realtime API version and schema your plugin is using — parameter names can change between versions.
2. Inspect the plugin request payload where session is sent and remove or rename session.type (or move its value into a supported field).
3. Look for recent code/config changes that added session.type (plugin config, middleware, or request-building code).
If you want, share:
• The plugin configuration or the request JSON being sent (redact secrets),
• The OpenAI API version you’re targeting,
and I’ll point to the exact field to change or show an example corrected payload.
, with interactive elements