This support forum is no longer in use. Please use the Cloudinary Community at to receive assistance from other members of the community and from Cloudinary's support team. For account-specific questions or if you believe that you've encountered a bug, please contact the Cloudinary team directly via the "submit a request" option on this support site.

@cloudinary/url-gen generates wrong url while trying to retrieve images in a folder


1 comment

  • Avatar
    Thomas Gurung

    Hi Kristiyan,

    Thanks for reaching out. 

    The first image is not found because it seems you saved the image with its extension, so the public id for it is actually "2022-04-26T08-43-44.294Z-watch.webp". If you include a . character in a public ID, that simply becomes part of the ID itself.

    If you were to pass "2022-04-26T08-43-44.294Z-watch.webp" to the URL generator then you'd get: 

    which works but we recommend not to include the extension in the public id for media-related sources so you can just update the asset to not have ".webp" in its public id and your code should work.

    I recommend reading the note in this link, please let me know if you have any questions.

    Kind Regards,

    Comment actions Permalink

Post is closed for comments.