Handling Android Errors
In the table below, each row represents error code. For further information please see the
Network not connected.
Network connection timed out.
Network IO error.
Network unknown host error.
Network ssl error.
User cancel login or login failure.
For Share errors
If the error code does not make it easy for you to locate a specific error, you can use 'response.subErrorCode' for detail message. SDK version needs to be 0.0.1.5 or higher and TikTok version needs to be 14.4.0 or higher.
Params parsing error.
Not enough permissions to operation.
User not login.
TikTok has no album permissions.
TikTok Network error.
Video length doesn't meet requirements.
Photo doesn't meet requirements.
Processing photo resources failed.
Video resolution doesn't meet requirements.
Video format is not supported.
Users store shared content for draft or user accounts are not allowed to post videos.
For Authentication errors
The system is busy. Please try again later.
No permission operation.
The user is banned from using this operation.
Quota has been used up.
The application has not obtained this ability. Please register for it on developer portal.
Request parameter access_token openid does not match.
Illegal application configuration.
Illegal authorization scope.
Illegal redirection URI needs to be consistent with the "authorized callback domain" in the app configuration.
Authorization code expired.
Illegal call credentials.
The application package name is inconsistent with the configuration.
App is under review and cannot be authorized.
Client key or client secret error.
The authorized client key is inconsistent with the access token obtained.
Application type error, such as using the client_key of APP application for PC application.
Authorization failed, the signature information needs to be completed.
The user has not authorized the api.
Access_token expired, please refresh or re-authorize.
TikTok app version is too low. To continue, update to the latest version of the app.
This feature is not available for your account due to the age restriction. Try using another account.