I am wondering if the documented 3MB limit for animated GIFs is correct.
To reproduce, try with this GIF:
It is 2.7 MB in size, consisting of 2 frames at resolution 2000x1333.
The media upload seems to work.
On the subsequent call to https://api.twitter.com/1.1/statuses/update.json we get
If I try the same GIF in the twitter UI, the result is similar - upload seems to work, but when I click “Tweet”, I get “Internal server error”. Screenshot: