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

Published failed, response status_code 4 #89

Open
NinhXNT opened this issue May 13, 2024 · 1 comment
Open

Published failed, response status_code 4 #89

NinhXNT opened this issue May 13, 2024 · 1 comment

Comments

@NinhXNT
Copy link

NinhXNT commented May 13, 2024

Hi all,
Does anybody get issue response status code 4? How can i fix it?
I tried with both url_server "www" and "us".

` D:\TikTokUploder> py .\TikTokUploader\uploader.py -i ae17f0e155sdar2324dsd2dd23 -p ocean.mp4 -t "ocean" --tags ocean fyp
============Start uploading video===========
C:\Users\ninht\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\connectionpool.py:1103: InsecureRequestWarning: Unverified HTTPS request is being made to host 'tos16-up-quic-useast8.tiktokcdn-us.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
warnings.warn(
============Video uploaded successfully===========
============Publish failed===========
[-] An error occured while reaching https://us.tiktok.com/api/v1/web/project/post/
r = <Response [200]>
r.content = b'{"info":{},"log_pb":{"impr_id":"20240513165505FE933F96156A1B006B4E"},"status_code":4,"status_msg":""}'

`

@NinhXNT NinhXNT changed the title Published failed, response status_code 403 Published failed, response status_code 4 May 13, 2024
@NinhXNT
Copy link
Author

NinhXNT commented Jul 18, 2024

i got it works by connecting vpn of correct region.

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

1 participant