Image validation failing for images greater than 3MB whereas the documentation states the limit to be 5MB


Sample Image:

While the POST media/upload returns the media id but POST status/update fails with error: { “errors”: [ { “code”: 324, “message”: “The validation of media ids failed.” } ] } The size of the image is < 5 MB.

I am trying to post the above image on twitter using REST API. But it is giving validation failure. . Documentation states the size limit as 5 MB. The file is jpg.


Hi, I am facing issue with Uploading Image can you help me in this , you said it is working fine on your side.