cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to know what we learned at IBC? Check out our learnings on media, remote working and more right here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Re: Dropbox chooser integrated with a react webapp not working when opened in chrome ios mobile, ipa

Re: Dropbox chooser integrated with a react webapp not working when opened in chrome ios mobile, ipa

anas saifi
Explorer | Level 3

hey I am also using react-dropbox-chooser, when I select an image I get it's meta data such as thumbnail link, link, bytes etc. Now I need to send the blob of this file to the server but when I fetch the blob using the link that I got in the response I get CORS error.
Since you are working on the same thing so can you please help me out ?

 

11 Replies 11

anas saifi
Explorer | Level 3

First of all I harcoded the link and replaced "&dl=0" with "&raw=1" with mode set to "no-cors".

    console.log("response is",response)

the following screenshot shows the response of the above call

Screenshot 2024-01-04 222933.png

Здравко
Legendary | Level 20

Hm...🤔 Ok, everything seems fine. What's wrong? 🧐

You still haven't consumed the response content (i.e. the image): bodyUsed: false

 

PS: You question is not Dropbox API related, so take a look in some tutorial/documentation (like here) how you can use such object.

Good luck.

Need more support?