Unfortunately, there is no easy fix. TikTok and other major platforms are constantly updating their anti-bot and anti-automation measures. When you use popular tools like Appium/UiAutomator with default settings, it is easy to get detected.
To fix this, you may need to:
Use more specialized tools: There are more advanced anti-detection frameworks or services (anti-detect browsers/frameworks) that better simulate human behavior.
Tweak settings: Change parameters in Appium to make the bot's actions look more natural (e.g., slower scroll speed, adding random delays between actions).