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

Video don't get upload #90

Open
nahtan-dev opened this issue May 26, 2024 · 3 comments
Open

Video don't get upload #90

nahtan-dev opened this issue May 26, 2024 · 3 comments

Comments

@nahtan-dev
Copy link

Hi, I'm getting this error, could someone help me please?

Traceback (most recent call last): File "/Users/nathan/Documents/RSL/index.py", line 253, in <module> uploadVideo(session_id, file, title, tags, users, url_prefix, proxy=proxy) File "/Users/nathan/Documents/RSL/uploader.py", line 56, in uploadVideo video_id = uploadToTikTok(video, session) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/nathan/Documents/RSL/util.py", line 146, in uploadToTikTok upload_node = r.json()["Result"]["InnerUploadAddress"]["UploadNodes"][0] ~~~~~~~~^^^^^^^^^^ KeyError: 'Result'

@MarcoLavoro
Copy link

any update on this?

@NinhXNT
Copy link

NinhXNT commented Jun 30, 2024

Make you use the correct session
and also check the UA from your cookie.
Screenshot 2024-06-29 183625

image

@guillaume-gex
Copy link

I have the same error :
upload_node = r.json()["Result"]["InnerUploadAddress"]["UploadNodes"][0]
~~~~~~~~^^^^^^^^^^
KeyError: 'Result'

I am trying my best to pass it but I cannot... I have the right session_ID from the cookie etc... as far as I can see... printing the r json:
{'ResponseMetadata': {'RequestId': '20240811210833FA74C5E04793BA2F97BB', 'Action': 'ApplyUploadInner', 'Version': '2020-11-19', 'Service': 'vod', 'Region': 'us-east-1', 'Error': {'CodeN': 100026, 'Code': 'InvalidSecretToken', 'Message': 'Invalid secret token, msg: %s.'}}}
Traceback (most recent call last):

Any idea / help please ? thank you

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

4 participants