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

simple_upload/media_upload Error #1905

Closed
agieocean opened this issue May 29, 2022 · 4 comments
Closed

simple_upload/media_upload Error #1905

agieocean opened this issue May 29, 2022 · 4 comments
Labels
Invalid This is not valid No Reproduction This is not reproducible Question This is a question

Comments

@agieocean
Copy link

agieocean commented May 29, 2022

Expected behavior: Image posts to Twitter
Actual behavior: Receive this error message Failed to send request: Failed to parse: https://upload.twitter.com/1.1/media/upload.json
Relevant code:
auth = tweepy.OAuth1UserHandler(xx, xx, xx, xx)
api = tweepy.API(auth)
api.simple_upload("xx")
Possibly relevant: in my developer dashboard it says I'm using V2 of the API, if this is the problem how can I switch to v1.1?

@agieocean
Copy link
Author

Updated urllib3 and now I'm just getting a 403 error

@agieocean
Copy link
Author

This was due to a permissions configuration issue, lastly it seems like it's working but it's not actually posting

@agieocean
Copy link
Author

This was due to a permissions configuration issue, resolved.

@Harmon758
Copy link
Member

In the future, you need to provide the full traceback(s) and relevant code for someone to be able to determine what's going on and help you.

@Harmon758 Harmon758 closed this as not planned Won't fix, can't repro, duplicate, stale May 29, 2022
@Harmon758 Harmon758 added Question This is a question Invalid This is not valid No Reproduction This is not reproducible labels May 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Invalid This is not valid No Reproduction This is not reproducible Question This is a question
Projects
None yet
Development

No branches or pull requests

2 participants