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. I get the following error:
Error in call to API function "files/upload": Bad HTTP "Content-Type" header: "application/octet-stream; charset=utf-8". Expecting one of "application/octet-stream", "text/plain; charset=dropbox-cors-hack
Thanks for the post. I don't have a workaround to offer on our side unfortunately, but I'm raising this with the engineering team to see if they can change that behavior. I can't make any promises though.
Hello, have the engineering team had the opportunity to look into this bug? This is unfortunately still an issue with React Native and it means it's not possible to create apps that support Dropbox (see the GitHub issue there - https://github.com/facebook/react-native/issues/14445 ) Any chance it is going to be fixed on the Dropbox side?