explain the below error message: ```{"message": "...
# ask-ai
b
explain the below error message:
Copy code
{
  "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"
}
✅ 1
t
Thanks for reaching out, Utkarsh. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Thanks — I'm responding about the error line that says: "Unknown parameter: 'session.type'". What the error means • The OpenAI Realtime API rejected a parameter named
session.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