getting 400 - Unsupported source URL
Hi im trying to send a REST call to save a image, but I'm getting 400 Unsupported source URL.
cloud name : testim
-
Hi there,
Thanks for reaching out.
This error refers to the value of the file parameter that was passed for upload. Looking into our logs, I see that you are sending Base64, so you will need to URL escape your whole Base64 input string.
For example, if your Base64 string starts with:data:image/jpeg;base64
, it should be:data%3Aimage%2Fjpeg%3Bbase64%2C
Please give that a shot and let us know how it goes. Of course, if you have any questions otherwise, do not hesitate to ask.
Kind Regards,
Tia
0 -
Hi Tia sorry for the late reply i am sending the request as you asked but still getting the same result.
Can I see the logs somewhere?
Is there another solution?
0 -
Hi Elad,
In order to further assist, can you please open a ticket directly at: https://support.cloudinary.com/hc/en-us/requests/new And provide the base64 data URI file you are using?
Thanks,
Michal
0
Post is closed for comments.
Comments
3 comments