Forum Discussion

carsteamihnea's avatar
carsteamihnea
Explorer | Level 3
2 years ago

Please help a newby!

Hello all ! i am new at creating websites and all and i took it upon myself to self study and try a little project for our wedding. The project should have a due date and be in production in aprox a week or so... i need help with something... i have a website, with 2 buttons in the middle of the screen : Upload from device and Upload to Dropbox. I made it possible but when the files get updated to Dropbox they arrive corrupted and cannot be opened. where should i look ? what am i doing wrong? any ideas where should i look? thank you in advance!

1 Reply

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    2 years ago

    I suggest stepping through your code in a debugger, or otherwise adding logging, to inspect the content of the file data that you're uploading at each step in the process, to see where/why the value is differing from what you expect. For example, check if you are accidentally applying an incorrect layer of encoding before uploading the data to Dropbox.

About Dropbox API Support & Feedback

Node avatar for 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!