question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Getting error "{"code": "10000", "from": "", "type": "verify" while running getTikTokById()

See original GitHub issue

Hi all,

I try to get info about few TikToks, so I have the following python script:

#!/usr/bin/env python3
import sys
import json
from TikTokApi import TikTokApi
api = TikTokApi()

tiktokId = sys.argv[1]

tiktok = json.dumps(api.getTikTokById(id=tiktokId))
print(tiktok)

Then I call it from php script:

foreach ($videos as $video) {
            $command = escapeshellcmd("python3 {$this->pythonScriptPath} {$video->getRemoteId()}");
            $result = shell_exec($command);
            $videoData = json_decode($result);

            // Saving video info into DB
}

And I often get errors like this:

{“code”: “10000”, “from”: “”, “type”: “verify”, “version”: “”, “region”: “va”, “subtype”: “slide”, “detail”: “yDh6ULqmLqVDRICGAyi4jPFInBgXJZz1CIUKUb9a9KAppr-vAShXGRpksfBueV-Vcx4XxRN2i3vziV4fwZF-3z-x5pS6bZxU5jdMydcTkeqxgLKNzJgVBcynsbFctnPMIMe-VK22osBIvDl45PnUlJEjikdXD*DKqNJ0zjI9JgPsIHSfOXGOpHFZmwq7WPMCiDAjRxxw8EJ5mTWQpQ…”, “verify_event”: “”, “fp”: “verify_3df7d7a1795c135b58a39084f58d3”}

I’ve tried to put sleep(10) after each request in php code, but still getting those error messages. Is there an API errors description anywhere? And what should I do with this error?

I’m using CentOS Linux release 7.7.1908 (Core) Python 3.6 TikTokApi-3.4.0

Thanks for help in advance!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
adiantekcommented, Oct 29, 2021

Changing custom_verifyFp helped me, so this error doesn’t mean “your IP is banned”.

0reactions
tokjiicommented, Jun 10, 2021

I literally have this on my home IP. But maybe there is also an issue in my implementation, I’m not using the TikTok-Api repo in production, only a boiled-down version

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error code 10000 while saving an estimate - QuickBooks - Intuit
Ctrl + Shift + P (Microsoft Edge). Once logged in, recreate the transaction to verify if it's working well. Once confirmed, go back...
Read more >
ApiError { code: 10000, message: "Authentication error", other
Solution for me was to configure wrangler with my Global API Key instead of a key I made with the “Edit Cloudflare Workers”...
Read more >
How to fix authentication error code 10000 in cloudflare
It says - authentication error (code 10000) while logging to my cloudflare dashbord. don't know why that's happen,but. i searched for that ...
Read more >
Error Code : 10000 - Unable to shutdown or restart the Netflow ...
Check for NetFlow Port with value :9996 PortCheckerUtil.checkPorts :9996. Already Server seems to be running. Error Code : 10000.
Read more >
Netflix Error 10000 - Netflix Help Center
If you get the error code 10000 on your iPhone, iPad, or iPod touch, use this article to fix the problem.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found