Enum trovo::ErrorStatus [−][src]
#[repr(i16)] pub enum ErrorStatus {}Show variants
InternalFetch, InternalTimeout, InvalidParameters, InternalUnknown, Conflict, InvalidUser, AuthorizationFailed, InvalidAuthCode1, MessageSpam, InvalidCategory, Moderated1, Moderated2, AccountBlocked, InvalidHeader, InvalidScope, InvalidAccessToken, RateLimitExceeded, MissingChatPermission, InvalidShardValue, MissingShardTokenPermission, InvalidAuthCode2, UsedAuthCode, RefreshTokenExpired, InvalidRefreshToken, AccessTokenExpired, InvalidGrantType, InvalidRedirectUri, InvalidClientSecret, AccessTokenLimit, UnauthorizedScope, BannedInChannel, SlowMode, FollowerOnly, UnauthorizedHyperlink, ModeratedMessage, Unknown,
Expand description
Error codes returned by the Trovo api
Variants
Internal service failed to fetch data. Please try again.
Internal server error. Try send the request again. In most cases, it is caused by timeout of an internal service.
Server received invalid parameters. Please check the params you requested.
Unknown or uncategorized internal server error. Please report to developer@trovo.live
Conflict. Please try again.
The user does not exist.
Authorization failed. Please double check your token or the auth status.
Authorization Code doesn’t exist or has expired
To avoid spam, one user cannot send the same message in 30 sec to a channel, or send more than 1 message in 1 sec across all platforms. Streamers, Mods and Admins does not have this limit. Give your chatbot mod access then you will not get this limit.
The category does not exist.
Content conflicts with Trovo moderation rule.
Content conflicts with Trovo moderation rule.
The user account has been blocked by Trovo. To unblock the user, please contact us at customer@trovo.live
Error in the request header.
Please try again with a valid scope.
Double the access token you passed in is valid or not.
API rate limit exceeded. (You may apply for rate limit increase by contacting Trovo staff)
No permission to send chats to this channel.
Invalid shard value. (Please make sure total_shard > 0 and 0 <= current_shard < total_shard)
No permission to get the sharding token. Get shard token API is currently open to trusted developers only. You may email developer@trovo.live to get whitelisted.
Authorization Code doesn’t exist or has expired
Authorization Code has been used
Refresh token has expired
Invalid refresh token.
Access token has expired
Invalid grant type
Invalid Redirect URI
Invalid client secret
Access token num is greater than 50, you should wait for the old access token to expire before you can refresh again.
Scope is not authorized by the user.
The user is banned from chatting in this channel. Please contact the streamer/mods to unban the user.
Channel is currently in slow mode. Please follow the slow mode rule to chat.
The streamer has set the channel to be follower only chat. Please follow the channel to chat.
The user does not have permission to send hyperlinks in this channel. The channel is in block hyperlink mode. Please check the hyperlink mode rules.
Your message was moderated due to conflicts with the channel’s moderation settings.
Unknown or uncategorized error. Please report to developer@trovo.live.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ErrorStatus
impl Send for ErrorStatus
impl Sync for ErrorStatus
impl Unpin for ErrorStatus
impl UnwindSafe for ErrorStatus