If I remove the caption the error becomes the following which leads me to believe the video is never uploaded:
{"status"=>400, "msg"=>"Bad Request", "errors"=>["Error uploading video file.", "Post cannot be empty."]}
Uploading the same video through the web interface and the video post is successful. Uploading photos using similar code works just fine.
When uploading a video I get the following error: {"status"=>400, "msg"=>"Bad Request", "errors"=>["Error uploading video file."]}
Code is simply:
If I remove the caption the error becomes the following which leads me to believe the video is never uploaded: {"status"=>400, "msg"=>"Bad Request", "errors"=>["Error uploading video file.", "Post cannot be empty."]}
Uploading the same video through the web interface and the video post is successful. Uploading photos using similar code works just fine.
Using: tumblr_client 0.8.5 faraday 0.9.1 faraday_middleware 0.9.1 httpclient 2.5.3.3