Couchdb HTTP 412 Error : missing_stub

1k Views Asked by At

I'm having an issue with couchdb 1.2.0 while saving multiple documents using the bulk API.

Request info :
POST /myCouchDB/_bulk_docs

Response info :
HTTP 412 (Error: missing_stub id:customerfile-36975, name:contract)

This HTTP 412 error occurs randomly, and the document quoted in the error message (ie customerfile-36975) changes over time.
An opened issue in CouchDB could be related to this problem : https://github.com/beppu/anyevent-couchdb/issues/7, but hasn't been fixed since Jan 2012...

If someone has any clue or workaround, please tell me !

0

There are 0 best solutions below