Hi Couchusers, i am trying to create a document with multiple attachments. 13 images, 1.2MB total.
I get a 500 from couchdb 1.7.1 and in the couchdb log i get: [info] [<0.3275.73>] Stacktrace: [{couch_db,write_streamed_attachment, [<0.4494.73>, #Fun<couch_doc.16.26040431>,-2603], [{file,"couch_db.erl"},{line,1075}]}, {couch_db,with_stream,3, [{file,"couch_db.erl"},{line,1034}]}, {couch_db,'-doc_flush_atts/2-lc$^0/1-0-',2, [{file,"couch_db.erl"},{line,941}]}, {couch_db,'-doc_flush_atts/2-lc$^0/1-0-',2, [{file,"couch_db.erl"},{line,941}]}, {couch_db,doc_flush_atts,2, [{file,"couch_db.erl"},{line,941}]}, {couch_db,'-update_docs/4-lc$^7/1-7-',2, [{file,"couch_db.erl"},{line,810}]}, {couch_db,'-update_docs/4-lc$^6/1-6-',2, [{file,"couch_db.erl"},{line,809}]}, {couch_db,update_docs,4, [{file,"couch_db.erl"},{line,809}]}] My nodejs code is equivalent to: var images = files.map(function(file) { return { name: file, data: fs.readFileSync(file), content_type: 'image/png' } }); nano.multipart.insert(doc, images, doc._id, function(e, body) { if (!e) { console.log(body); } else { console.log(e); } }); Are 13 Attachments and/or 1.2 MB just to much? Thank you, Stefan