Troubleshooting

Where to fix a problem on each platform and recipe, what a working live session looks like, and the fixes for the common session errors.

Every platform and recipe page ends with a Troubleshooting table for its own problems; this page links them all, then covers the live session itself.

By platform

PlatformIts Troubleshooting table
iOS & iPadOSSwift package on iPhone and iPad
macOSSwift package on the Mac
AndroidAndroid SDK
FlutterFlutter plugin
WebWeb embed
PythonPython SDK
CLICLI
LiveKitLiveKit plugin
REST APIREST · every error code: Errors

By task

TaskIts Troubleshooting table
Create an avatarCreate an avatar · creation errors: Agents API
A voice agentVoice agent
A companion appCompanion app
A kioskKiosk
A talking videoTalking video
Persona and gesturesPersona · Gestures
Claude, Cursor and other MCP clientsMCP server

Before you start

1. Connect

SituationExpect
A session on an agent that has served recentlythe avatar appears in a few seconds
The first session on a new agent, or at a busy timeup to tens of seconds while capacity starts; later sessions are fast

If sessions keep failing to connect, check status.bithuman.ai.

2. Idle and speaking

During silence the avatar keeps moving: Expression 2 plays its idle clip and Essence 2 its identity video, both looping smoothly. When speech starts, the lips follow the audio; on Expression 2, the idle motion covers the start of each reply. A running session bills whether the avatar is talking or idle (pricing); end sessions you are not using.

Check it worked

The avatar appears, moves while idle, and its lips follow the agent’s speech. Frozen frames or motion that looks reversed are faults: report them with the agent code and the time.

Troubleshooting

SymptomCauseFix
The agent will not launch right after creationit is not ready yet, or its model is still being prepared for servingpoll until ready; retry the first session after a short wait
409 MODEL_NOT_GENERATEDthe session asked for a model the agent does not havecheck supported_models; add the model
The session ends at once with avatar_error: "model_not_generated"a ?model= in the URL named a model the agent does not haveremove ?model=, or add the model
404 on /speak or /add-contextthe agent has no live sessionstart a session first
No microphone prompt in an embedthe iframe lacks allow="microphone *"add it (Web)
In a room with several agents, the avatar stays silent for onethe avatar follows the agent that called AvatarSession.start()start the avatar from the agent it should speak for
Creation stays at lip_sync for a long timethat is the training step for Essence 2 and Expression 2 (about 2–2.5 hours)keep polling

Creation errors and their fixes are on Agents.

Next