You are reading a single comment by @cyclotron3k and its replies.
Click here to read the full conversation.
-
I'll see if I can add a pause... assuming the code is relatively straightforward?
verify that the upload_video step is always successful
I'm not sure how I'd do this? The fact it tweets is usually the verification all went ok. Does twitter return "answers" to each step i could somehow ask the code to delve into?
E.g. if video upload = success, go tweet, else stop, hammer time?
Out of curiosity does inserting a pause between uploading the video and updating the status make the problem go away. Maybe 5 seconds?
Also, can you verify that the upload_video step is always successful? It could be failing silently and causing the following step to throw the "Bad Request" error.