We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Vinicius A.2
10 years agoNew member | Level 1
Upload Corrupted
I'm trying upload a file by http. The Upload is OK. Bas de zip file is always corrupted. I've checked the file before upload and i'ts ok. My code: var bytes = File.ReadAllBytes(fileToSend); ...
Vinicius A.2
10 years agoNew member | Level 1
Yes! The File is ok before upload. Using fiddler a notice that in body I have this: System.byte [].
But if a User addFile to upload a get the error:
Error in call to API function "files/upload": Bad HTTP "Content-Type" header: "multipart/form-data; boundary=-----------------------------28947758029299". Expecting one of "application/octet-stream", "text/plain; charset=dropbox-cors-hack".
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!