Getting 401 error on first APPEND for media upload #546
Replies: 1 comment
-
Found the issue, the docs on Twitter's site were incorrect: https://developer.x.com/en/docs/x-api/v1/media/upload-media/api-reference/post-media-upload-append The listed the upload url as Gotta love twitter haha |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Not sure why I am getting issues now but this code worked about a week ago and now I am getting a 401 on first APPEND for media uploads. One thing I noticed that on the INIT response the media_id and media_id_string don't match:
{'media_id':1846927840828072000,'media_id_string':'1846927840828071936','expires_after_secs':86400,'media_key':'7_1846927840828071936'}
I haven't an entire trying to get this working, any ideas would be appreciated.
Error I am getting:
Request failed with code 401 - Could not authenticate you (Twitter code 32)
Beta Was this translation helpful? Give feedback.
All reactions