getting 400 - Unsupported source URL

Comments

3 comments

  • Avatar
    Tia Esguerra

    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
    Comment actions Permalink
  • Avatar
    Elad Tal

    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
    Comment actions Permalink
  • Avatar
    Michal Kuperman

    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
    Comment actions Permalink

Please sign in to leave a comment.