Twitter image posting through api for 3.5 MB image is failing

media
media-upload

#1

Hi, We are trying to post an image and the size of the image is 3.5 MB, though its under twitter limit, it is getting failed throwing a reason of large image size.

{“message”:“403:The request is understood, but it has been refused. An accompanying error message will explain why. This code is used when requests are being denied due to update limits (https://support.twitter.com/articles/15364-about-twitter-limits-update-api-dm-and-following).\nmessage - One or more of the uploaded media is too large.\ncode - 193\n”,“reason”:“403:The request is understood, but it has been refused. An accompanying error message will explain why. This code is used when requests are being denied due to update limits (https://support.twitter.com/articles/15364-about-twitter-limits-update-api-dm-and-following).\nmessage - One or more of the uploaded media is too large.\ncode - 193\n”,“code”:193,“success”:false}


#2

That’s odd. Can you walk us through the process you’re using to upload the image?