Issue with auto-upload

Hi! Thanks for all the help you provide in this Community!!

My issue: I don't manage to get my auto-upload working, after spending several hours trying to get it.

  1. I have mapped a folder "ztat" to this URL: "https://img01.ztat.net/"
    1. Cloudinary tells me it's ok, I think:
      https://res.cloudinary.com/dtnyeg9pu/image/upload/ztat/sample.jpg →
      https://img01.ztat.net/sample.jpg
  2. I want to upload this URL, that I have checked it works: https://img01.ztat.net/article/spp-media-p1/5cd6e79071254e56b9a500846eeb304a/5d97273a207242eaba82d59b55e3f7f5.jpg?imwidth=1800
  3. I have replaced "https://img01.ztat.net/" by the folder name, and escaped "?" and "=", so I get this URL:
    https://res.cloudinary.com/dtnyeg9pu/image/upload/ztat/article/spp-media-p1/5cd6e79071254e56b9a500846eeb304a/5d97273a207242eaba82d59b55e3f7f5.jpg%3Fimwidth%3D1800
  4. But I get the following X-Cld-Error:
    public_id (ztat/article/spp-media-p1/5cd6e79071254e56b9a500846eeb304a/5d97273a207242eaba82d59b55e3f7f5.jpg?imwidth=1800) is invalid

Any idea what else to do, please? Any step I'm missing?

Thanks!
Josu

Tagged:

Best Answer

  • Tom
    Tom Member, Cloudinary Staff Posts: 108
    Answer ✓

    Hey @JosuGomez ,

    Thanks for reaching out.

    This was happening because we do not allow special characters by default in the public id (e.g. the question mark) but I've updated your account to allow this and it should work now after a refresh.

    Please let me know if you have any other questions or queries.

    Kind Regards,

    Thomas