Twitter Video Upload Error 131




I am trying to perform a video upload in JavaScript but I was having problems so I decide to see if I can get it to work with twurl. I am getting an error 131 on the finalise method. Here are the command I ran if anyone can help.

twurl -H “/1.1/media/upload.json” –d “command=INIT&media_type=video/mp4&total_bytes=1055736”

twurl -H “/1.1/media/upload.json” –d “command=APPEND&media_id=648503567259725824&segment_index=0” --file test.mp4 --file-field “media”

twurl -H “/1.1/media/upload.json” –d “command=FINALIZE&media_id=648503567259725824”
{“errors”:[{“message”:“Internal error”,“code”:131}]}