In the new generation of the TikTok Login Kit, OAuth error responses include an error code represented as readable strings with a detailed error message and log ID. When contacting the TikTok support team, these details must be provided.
The error category in string.
The detailed error description.
The unique ID associated with every request for debugging purposes.
error property can be one of the following values:
The resource owner or authorization server denied the request.
Client authentication failed (for example, unknown client, no client authentication included, or unsupported authentication method).
The provided authorization grant (for example, authorization code or resource owner credentials) or refresh token is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client.
The request misses a required parameter or is otherwise malformed.
The requested scope is invalid, unknown, or malformed.
The client is not authorized to request an authorization code using this method.
The authorization grant type is not supported by the authorization server.
The authorization server does not support obtaining an authorization code using this method.
Other internal server errors.
Service is temporarily unavailable.