Skip to content
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

Upload Error (403) - r.content = b'' #7

Open
FoBasa opened this issue Mar 25, 2023 · 7 comments
Open

Upload Error (403) - r.content = b'' #7

FoBasa opened this issue Mar 25, 2023 · 7 comments

Comments

@FoBasa
Copy link

FoBasa commented Mar 25, 2023

Used the correct session_id, even with a new updated one however it still gives 403 content error

[-] An error occured while reaching https://www.tiktok.com/upload/
r = <Response [403]>
r.content = b''

from Tiktok_uploader import uploadVideo

session_id = "sessionid"
file = "path/to/video.mp4"
title = "video title"
tags = ["foryoupage", "foryou", "fyp"]

# Publish the video
uploadVideo(session_id, file, title, tags, verbose=True)
@endcycles
Copy link

endcycles commented Mar 27, 2023

I'm getting a similar error, however I get status 200 the response from the server sent this:

[-] An error occured while reaching https://www.tiktok.com/api/v1/item/create/
r = <Response [200]>
r.content = b'{"status_code":5,"status_msg":"Invalid parameters","log_pb":{"impr_id":"redacted"}}'

Code:

from Tiktok_uploader import uploadVideo

session_id = "sessionid"
file = "test.mp4"
title = "Testing title"
tags = ["test", "fyp"]

uploadVideo(session_id, file, title, tags, verbose=True)

@FoBasa
Copy link
Author

FoBasa commented Mar 28, 2023

this seems to be an invalid sessionid, assuming you copied the exact 'sessionid' from the cookies, it may also be dated (you can get a new one by logging out & in). I had a certificate installed which I uninstalled & then it went into 'uploading' message, however after countless tries fails.

let me know if you have any success with using the correct sessionid or by getting a new one

@sythuan92
Copy link

i try with correct sessionid but problem still here.
[-] An error occured while reaching https://www.tiktok.com/upload/
r = <Response [403]>
r.content = b''

@546200350
Copy link

maybe you can try another lib
https://github.com/546200350/TikTokUploder
it`s also base on this lib

@DPS777
Copy link

DPS777 commented Apr 15, 2023

same error here

@MrAuronTV
Copy link

same error here too

@navaneeth-algorithm
Copy link

check this its working perfectly
https://github.com/546200350/TikTokUploder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants