Hello @shreya
We’re getting this error code “DuplicateResource” from the document upload API. Can you please tell us why we’re getting this error?
Is the user trying to upload the document with the same filename or the logic is something else?
Hello @shreya
We’re getting this error code “DuplicateResource” from the document upload API. Can you please tell us why we’re getting this error?
Is the user trying to upload the document with the same filename or the logic is something else?
Hi @ghanshyam-cygnet – ah the DuplicateResource error for a document is thrown if the user tries to upload the same exact file. We are checking the MD5 hash of the image. Images generating different hashes would not be detected as duplicates.
Hope that helps! Let us know if you have any questions!