Hi, I'm trying to find the best way to avoid duplicate files, this is what I tried.
1. set the parameters "public_id" and "overwrite: false" in my request, in the docs it mentions that the response is returned immediately, but I don't know why it doesn't work for me. the file takes the same time when is upload for the first time and response is not inmediatly like docs mention it, only response have a new param "existing: true"
2. I make a main request before uploading the file, I generate a url without 'version' and 'extension' and when I try to view the image in the browser url, I get a response with a 404 error, but when I upload the file for the first and then I make a request it works fine.
i appreciate any help thanks.
Post is closed for comments.