Thrown when a user hits the Sign API limit
Signature
Section titled “Signature”class SignatureRateLimitError(SignAPIError)
SignatureRateLimitError(api_message: Optional[str], *args, response: httpx.Response)Constructor for signature rate limit
Parameters
Section titled “Parameters”api_message(Optional[str]) — The message provided by the API*args— Default RuntimeException *argsresponse(httpx.Response)
Attributes
Section titled “Attributes”retry_after(property,int) — How long to wait until the next attemptreset_time(property,int) — The unix timestamp for when the client can request again
Methods
Section titled “Methods”calculate_retry_after
Section titled “calculate_retry_after”Calculate the retry after time from the response headers
@classmethoddef calculate_retry_after(response: httpx.Response) -> intParameters
Section titled “Parameters”response(httpx.Response) — The response object
Returns
Section titled “Returns”int — The retry after time in seconds
Import
Section titled “Import”from TikTokLive.client.errors import SignatureRateLimitError