Classes
Section titled “Classes”TikTokLiveError— Base error class for TikTokLive errorsAlreadyConnectedError— Thrown when attempting to connect to a user that is already connected toUserOfflineError— Thrown when the requested streamer to watch is offlineUserNotFoundError— Thrown when the request to check if a user is live fails because a user has no livestream account (e.g. <1000 followers)AgeRestrictedError— Thrown when a LIVE is age restricted. Pass sessionid to bypass.InitialCursorMissingError— Thrown when the cursor for connecting to TikTok is missing (blocked)WebsocketURLMissingError— Thrown when the websocket URL to connect to TikTok is missing (blocked)WebcastBlockedError— Thrown when the webcast is blocked by TikTok with a 200 or 400 status code (detected)SignAPIError— Thrown when a fetch to the Sign API fails for one reason or anotherSignatureRateLimitError— Thrown when a user hits the Sign API limitUnexpectedSignatureErrorSignatureMissingTokensErrorPremiumEndpointErrorAuthenticatedWebSocketConnectionError— Thrown when sending the session ID to the sign server as this is deemed a risky operation that could lead to an account being banned.
Attributes
Section titled “Attributes”WebcastBlocked200Error
Import
Section titled “Import”import TikTokLive.client.errors