You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
matt-42
8 years agoExplorer | Level 3
The Dropbox API V2 not compatible with React Native
I am not able to use the filesUpload endpoint with react native. Simply because it is not possible with React Native to set the content type to one of the 'Content-Type' header accepted by the API. ...
tsoltermann
7 years agoNew member | Level 2
I have the same issue and after some hours fiddling around I was able to fix workaround it. I'm uploading a JSON file to a dropbox account and i used a TextEncoder like this:
var myFile_Encoded = new encoding.TextEncoder().encode(JSON.stringify(myFile)); dbx.filesUpload({ path: DBX_FILEPATH, contents: myFile_Encoded, mode: 'overwrite', });
This seemed to do the trick and it even worked with multibyte characters that require UTF-8. e.g. ä, ö, ü.
Don't know whether that helps you.
regards, Tobias
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,882 PostsLatest Activity: 49 minutes agoIf 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 or Facebook.
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!