DEV Community

Discussion on: React Native : How to upload an image to Cloudinary.

Collapse
 
clembesso profile image
clembesso

Hello, this works for me with a valid url like yours 'res.cloudinary.com/ogcodes/image/u...' but when I pass the response.uri, it respond with a 400 error like the url is not valide. Do you have any issue ?

Collapse
 
clembesso profile image
clembesso

here is the log of my response.uri inside the ImagePicker : file:///Users/clement/Library/Developer/CoreSimulator/Devices/62E85527-A2AC-46CD-B517-E6039F99E056/data/Containers/Data/Application/2CC48963-39E0-4DF7-98FB-7710A819260F/Documents/images/CF21FDB9-04EA-4BA5-BD4E-AC683B9A34B1.jpg

Collapse
 
godswillokokon profile image
OGcodes

Hello, can I see your code? Did you find a fix, sorry for the delay in response