Getting some odd behavior on the status command after a chunked video upload. INIT,APPEND,FINALIZE commands all work great, and I can even post the video to twitter using the update endpoint, but I am concerned about cases where the video hasn’t finished processing, I would like to be able to programmatically determine whether or not it is ready to be posted alongside a tweet. Here is what I am getting back from the API:
GET https://upload.twitter.com/1.1/media/upload.json?command=STATUS&media_id=[MEDIA_ID]
returns
400 Bad Request
{
"request": "/1.1/media/upload.json",
"error": "checkVideoProcessingStatus called on a sync upload or an expired request."
}
As a hacky fallback, will the status/update endpoint allow a tweet to go out with a video that is still processing?