API.media_upload still doesn't allow uploading animated GIFs > 5 MB in size. #1501
Labels
API
This is regarding Twitter's API
Bug
This is regarding a bug with the library
Feature
This is regarding a new feature
Improvement
This is regarding an improvement to an existing feature
Milestone
I've updated my Tweepy to the latest version (3.10.0).
When I try to upload an animated GIF that's larger than 5 MB, I get the following error:
TweepError([{'code': 324, 'message': 'Image file size must be <= 5242880 bytes'}])
Which is super-strange, because I dove into
api.py
and confirmed that it should allow animated GIFs up to 15 MB in size.My files are definitely GIF mimetype, file extension .gif.
I also did this:
It spit out 'gif' and so should allow a higher file size limit in both
media_upload()
and also_pack_image()
in api.py.Am I missing something here?
The text was updated successfully, but these errors were encountered: