Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
gmacerola
4 years agoExplorer | Level 3
Empty files on upload
I have seen that this issue has been presented a few times before however, those solutions haven't helped in completed this last task for my app. I am using React Native with Expo. I am using Im...
gmacerola
4 years agoExplorer | Level 3
I was able to read the base64 data that I got back and then used that to upload. So I am uploading a variable that has the base64 stuff and now the upload is 1.06mb but is still corrupted/not viewable. Any idea?
let data = result.uri.split(",")[1];
setImageData(data);Greg-DB
Dropbox Community Moderator
4 years agoWhen you upload data to Dropbox via the API, you should upload the actual file data, without any encoding (such as base64 encoding). Dropbox does not apply any decoding on the uploaded file data; it will just commit what you send. Try uploading the data without the base64 encoding.
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
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!