Hi,
We’ve been getting several errors after posting status updates with media attached.
It seems the error occurs for images that are larger than 3Mb (the limit reported by /help/configuration.json), despite the fact that the image uploads successfully:
- Upload an image:
$ twurl -H upload.twitter.com -X POST “/1.1/media/upload.json” --file “image.jpg” --base64 --file-field “media_data”
{“media_id”:677947581679296512,“media_id_string”:“677947581679296512”,“size”:3147175,“expires_after_secs”:86400,“image”:{“image_type”:“image/jpeg”,“w”:2448,“h”:2561}}
- Post a tweet with the media attached:
$ twurl -X POST “/1.1/statuses/update.json?status=blarg&media_ids=677947581679296512”
{“errors”:[{“code”:44,“message”:“media parameter is invalid.”}]}
Can someone provide insight into what caused this error?
If this error is truly caused by the image being too large, shouldn’t it be reported during the post to /1.1/media/upload.json?
Thanks for any information you can provide, this one has been truly difficult to debug on our side 