Skip to main content

HTTP Status Codes

Error Response Format

All errors return a JSON body with status_code and message:

Common Errors

Invalid API Key

Fix: Check your API key in the Dashboard. Ensure you’re passing it as apiKey query parameter.

User Not Live

Fix: Use /webcast/check_alive to verify the user is live before connecting.

Rate Limit Exceeded

Fix: Implement exponential backoff. Check X-RateLimit-Remaining headers to avoid hitting limits. Consider upgrading your tier.

Connection Limit

Fix: Close unused WebSocket connections. Upgrade to a higher tier for more concurrent connections.

WebSocket Close Codes

For WebSocket-specific error codes, see WebSocket Close Codes.