-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
List of TikTok responses' status codes anywhere? #403
Comments
Responses are grouped in five classes:
Successful responses
|
I feel like I ran into a site that showed them all awhile ago, but can't seem to find it now :\ 200 - good request 10201 - invalid entity 10000 - captcha is shown but the json response is formatted differently it's handled by the API as of the moment. Structure is |
@davidteather thanks for your reply! Do you know what 10215 and 10216 mean? |
I have small addition to codes above: 00000 - or just (0) seems like the same as status 200 |
Really small addition: 10102 - "not login", which leads me to believe that you need an active session to use the call (logged in). |
There's also 10204 which seems to be kind of a block. |
10215 and 10217 - video is currently unavailable |
You need only to handle {
"0": "OK",
"450": "CLIENT_PAGE_ERROR",
"10000": "VERIFY_CODE",
"10101": "SERVER_ERROR_NOT_500",
"10102": "USER_NOT_LOGIN",
"10111": "NET_ERROR",
"10113": "SHARK_SLIDE",
"10114": "SHARK_BLOCK",
"10119": "LIVE_NEED_LOGIN",
"10202": "USER_NOT_EXIST",
"10203": "MUSIC_NOT_EXIST",
"10204": "VIDEO_NOT_EXIST",
"10205": "HASHTAG_NOT_EXIST",
"10208": "EFFECT_NOT_EXIST",
"10209": "HASHTAG_BLACK_LIST",
"10210": "LIVE_NOT_EXIST",
"10211": "HASHTAG_SENSITIVITY_WORD",
"10212": "HASHTAG_UNSHELVE",
"10213": "VIDEO_LOW_AGE_M",
"10214": "VIDEO_LOW_AGE_T",
"10215": "VIDEO_ABNORMAL",
"10216": "VIDEO_PRIVATE_BY_USER",
"10217": "VIDEO_FIRST_REVIEW_UNSHELVE",
"10218": "MUSIC_UNSHELVE",
"10219": "MUSIC_NO_COPYRIGHT",
"10220": "VIDEO_UNSHELVE_BY_MUSIC",
"10221": "USER_BAN",
"10222": "USER_PRIVATE",
"10223": "USER_FTC",
"10224": "GAME_NOT_EXIST",
"10225": "USER_UNIQUE_SENSITIVITY",
"10227": "VIDEO_NEED_RECHECK",
"10228": "VIDEO_RISK",
"10229": "VIDEO_R_MASK",
"10230": "VIDEO_RISK_MASK",
"10231": "VIDEO_GEOFENCE_BLOCK",
"10404": "FYP_VIDEO_LIST_LIMIT",
"undefined": "MEDIA_ERROR"
} MEDIA_ERROR can be splitter to: {
"1": "MEDIA_ERR_ABORTED",
"2": "MEDIA_ERR_NETWORK",
"3": "MEDIA_ERR_DECODE",
"4": "MEDIA_ERR_SRC_NOT_SUPPORTED",
"MEDIA_ERR_ABORTED": 1,
"MEDIA_ERR_NETWORK": 2,
"MEDIA_ERR_DECODE": 3,
"MEDIA_ERR_SRC_NOT_SUPPORTED": 4
} Media error can be only if XMLHttpRequest fails. |
Tiktok has updated their api. All users even invalid, banned, existing, nonexisting, give the same status code - 200. |
I don't see any update. Sent invalid request (count=300 instead of count=30 maximum to {"statusCode":10201,"statusMsg":""} In HTTP, https://tiktok.com/@xyz has in {
"props": {
"initialProps": {
...
},
"pageProps": {
"serverCode": 404,
"uniqueId": "xyz",
"statusCode": 10221,
"statusMsg": "",
"userInfo": {},
"seoProps": {},
"feedConfig": null,
"isSSR": true,
"pageOptions": {
"footer": {
"hidden": true,
"showDownload": false
},
"header": {
"showUpload": true,
"type": "webapp"
}
},
"items": [],
"videoListHasMore": true,
"videoListMaxCursor": 0,
"videoListMinCursor": 0,
"videoListStatusCode": 0
},
"pathname": "/share/user",
"loadInit": false
},
...
} Didn't test with |
When using requests.get('tiktok.com/@xyz') and then printing the status code it comes back as 200, same with available and unavailable usernames. Is there a way I can get the status code to show the actual codes in the website? |
Like how would I retrieve this in python?
Requests.head comes back as 301, due to tiktok redirecting before showing the codes. |
@flintishere tiktok statusCode != http statusCode. If you implement API by-own, you must extract JSON from HTTP request: |
How can I do this using TikTokApi? I have it installed but never got around to learning how to do anything with it. |
Also, would it be possible to extcract the JSON via requests? |
Did anyone face 10404 (FYP_VIDEO_LIST_LIMIT) StatusCode? I tried several proxies for different video IDs in "get_recommended_tiktoks_by_video_id" method but every time got 10404 StatusCode |
Did anyone know 10013 status code means? |
have you found a solution? im trying to make a username checker that doesnt output banned accounts and this is killing me. |
lol brook#0010
…On Fri, Mar 4, 2022, 8:39 PM 666skid ***@***.***> wrote:
Tiktok has updated their api. All users even invalid, banned, existing,
nonexisting, give the same status code - 200.
have you found a solution? im trying to make a username checker that
doesnt output banned accounts and this is killing me.
—
Reply to this email directly, view it on GitHub
<#403 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASTPDD7X4K6EL6EBRCUITMLU6K3OHANCNFSM4UJYTSRA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
i believe that brook stopped making checkers, and the checkers that he made all got leaked and has the trash api |
help me get new api then dad >.< |
text me on discord
…On Sat, Mar 5, 2022, 5:50 PM 666skid ***@***.***> wrote:
I am brook 😱😜
help me get new api then dad >.<
—
Reply to this email directly, view it on GitHub
<#403 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASTPDD63DPWQF3ISYKOGVO3U6PQK7ANCNFSM4UJYTSRA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
whats is your discord |
brook#0010
…On Sat, Mar 5, 2022, 7:05 PM 666skid ***@***.***> wrote:
text me on discord
… <#m_-3658704065928667517_>
whats is your discord
—
Reply to this email directly, view it on GitHub
<#403 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASTPDDY6GX3C4GECB4AR5R3U6PZE3ANCNFSM4UJYTSRA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
u not brook stop capping LOL add me sen#0666 |
It's CR (country restriction), but I can't confirm it's ONLY CR. I used Russian VPN and everything from the west is blocked (status code |
Does anyone know what 10016 is for? |
Looking for the 10016 error code meaning as well. |
Hello, Just sometimes (not everytime) I receive this error to upload automatically video on my tik tok profile, but I'm not sure what is the reason: [-] An error occured while reaching https://www.tiktok.com/api/v1/item/create/ is there someone who can help me? |
What's error code 100001? |
I'm having the same issue. Anyone found a solution? |
Hi all,
Does anyone know is there a list of TikTok responses' status codes with their meanings?
Thanks in advance!
The text was updated successfully, but these errors were encountered: