This support forum is no longer in use. Please use the Cloudinary Community at https://community.cloudinary.com/ 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.

overwrite: false not working in Node.js

Comments

1 comment

  • Avatar
    Itay Taragano

    Hi Michael,

     

    Sorry for the very late reply, we have noticed that this request was left unattended. I guess this is not relevant anymore but for future reference - 

    If the `overwrite` flag is `false`, then if an image with the given public_id is already present, the upload doesn't take place.

    Note that we don't return an error message in such cases, we return the already uploaded image's details, alongside with an additional parameter (`"existing" => true`) which indicates that there was already an image stored on your account, and that means that the upload wasn't processed.

    Thanks,

    Itay

    0
    Comment actions Permalink

Post is closed for comments.