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
Related
- Join a Meeting — create a meeting session and send the bot
- Controlling the Bot — actions that require an
activesession