We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

Forum Discussion

Alex1347's avatar
Alex1347
Helpful | Level 5
3 months ago

Video file uploaded via api doesn't play on DropBox.

I wrote lib on C# using DropBox API for upload videofiles, I can upload video files correct, but these files doesn't play on DropBox. I saw this answer https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Video-uploaded-via-api-cant-be-played/m-p/287701#M17592  but I don't understand how it's help me find specific reason of error ?  (because it's help only confirm contain problem\error)

  • Здравко's avatar
    Здравко
    Legendary | Level 20

    Alex1347 wrote:

    ..., I can upload video files correct, ...


    Hi Alex1347,

    Hm..🤔 If you can upload video file correct... what's wrong then. Did you make it sure? 🧐

    That what I understand "upload correct" is when comparing original source file (actual file type doesn't matter) and the uploaded mirror, byte by byte to be the same. Did you check this?

     


    Alex1347 wrote:

    ... but I don't understand how it's help me find specific reason of error ?  (because it's help only confirm contain problem\error)


    If you can clarify what's the reason for something not to work (i.e. what's wrong together with problem confirming), you have almost found the "specific reason of error" out. It's almost the same - you're just one step away. 😉 Don't be lazy; do it if you want of course. 🤫 If you want, you may share some code snippet that reproduces the problem while running standalone - something that may be commented on.

    Good luck.

  • DB-Des's avatar
    DB-Des
    Icon for Dropbox Engineer rankDropbox Engineer

    Hi @Alex1347

     

    The suggestion in the answer you linked is helpful as part of the troubleshooting process. As highlighted in that post, downloading the file to confirm the file size is correct should rule out any issues that may have occurred during the upload process. Alternatively, you can confirm that the content_hash value generated by the server is identical to the original/locally stored file (https://www.dropbox.com/developers/reference/content-hash).

     

    If the file size of the uploaded file and the original file size match, there may also exist the possibility that the file format is not supported by the browser you are using to play the file.

     

    As an additional troubleshooting step, and to rule out any potential issues with the library or framework being used to generate the request, we would suggest testing uploading the file via a cURL request.

     

    I hope this information is helpful!

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,877 PostsLatest Activity: 8 hours ago
325 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!