Consider using Photon https://github.com/ermouth/couch-photon, it has explicit button Clone in doc editor, and clones correctly.
ermouth ср, 29 сент. 2021 г. в 22:09, Erik Verheul <[email protected]>: > Hi all, > > I tried do clone multiple documents, some with attachments, by creating a > new _id and a copy of the fields from the original including "_attachments". > The _bulk_docs post request to save the cloned documents failed with > status code 412. If no document has an attachment all is fine. > > How can I avoid this error? > > Any help would be very much appreciated. > Thanks, > Erik > > >
