We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Alex1347
2 years agoHelpful | Level 5
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)
2 Replies
- Здравко2 years agoLegendary | 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-Des2 years ago
Dropbox Community Moderator
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
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
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, Facebook or Instagram.
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!