I’ve been trolling the forums to see if there was a clear answer to this, but I had no luck.
We’re using a Node.js backend and the twit library (https://github.com/ttezel/twit) to upload some videos to the new chunked /media/upload API.
We are attempting to upload this video as a test: https://snd-staging.s3.amazonaws.com/81f37d30-d728-11e5-8da0-29314f68151c.mp4
We’re trying to send it all in one chunk. INIT and APPEND come back with no errors, but as soon as we try FINALIZE, we get the infamous “The validation of media ids failed” 321 error.
A couple of questions we had:
- I’m guessing this has something to do with the fact that the video is about 2+ MB and we’re trying to send it over in one chunk?
- If this is the case, what is the Twitter recommended maximum size of each chunk?
- Is the video above of a format that is suitable for the video API?
Thanks for your help!