Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
gmacerola
5 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
5 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
5 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.
- gmacerola5 years agoExplorer | Level 3
I understand. I just can't seem to find a way to convert the base64 data to binary in react-native.
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!