You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

Baaka's avatar
Baaka
Explorer | Level 3
7 years ago

Video uploaded via api cant be played

I tried to upload a mp4 video that is above 150mb with the session api and I successfully uploaded it to dropbox without a single error, but the video just wont play. Accessing the video via a shared link with raw=0 results in the browser not playing the video because the file is in a not supported video format.

 

Does anyone know why this is happening?

  • A good first step for debugging this is to check if the file was uploaded correctly (e.g., to check if there were any bugs in the upload session implementation, for instance, if the pieces were upload out of order or anything like that).

    Does the uploaded file have the exact correct file size? You can also try to verify it by downloading it again, or by checking the content_hash value ( https://www.dropbox.com/developers/reference/content-hash ).

    If the file is correct, it may just be a matter of the browser not supporting the video format/codec and so not being able to play it at all.
  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff
    A good first step for debugging this is to check if the file was uploaded correctly (e.g., to check if there were any bugs in the upload session implementation, for instance, if the pieces were upload out of order or anything like that).

    Does the uploaded file have the exact correct file size? You can also try to verify it by downloading it again, or by checking the content_hash value ( https://www.dropbox.com/developers/reference/content-hash ).

    If the file is correct, it may just be a matter of the browser not supporting the video format/codec and so not being able to play it at all.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,885 PostsLatest Activity: 51 minutes ago
326 Following

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!