error object — branch on error.code and use error.message for diagnostics:
401 with {"errors": [{"code": "10009", ...}]}, not the single-error shape below. Authenticated operations can also return 403, 429 (with Retry-After when authentication is overloaded), or 503. A small number of gateway-level failures (such as a 502 for a meeting URL the provider rejects outright) return a plain-text body with no JSON envelope at all, so parse error responses defensively.
Meeting Error Codes
Retry Behavior
For session creation, send anidempotency_key and reuse the original request after a timeout, 429, or temporary 503. A successful replay returns 200 instead of 201. If the key conflicts with another configuration, or the join has been cancelled or its retry window has expired, resolve the 409 before starting a new join.
For a scheduled-session edit, read the session after a timeout or 503, then retry the same changes. Leaving can remain in leaving while completion is pending; wait for a terminal status.
Chat, speech, and artifact creation are not idempotent. Automatically repeating them can duplicate messages, speech, or billed artifacts. See Chat and Collect Results.
Related
- Join a Meeting — create a meeting session and send the bot
- Controlling the Bot — actions that require an
activesession