Hi Dave That was it: docs instead of rows did it!
Thanks a lot! Is there a way to mark the problem solved? This was my first post. Alex 2011/4/25 Dave Cottlehuber <[email protected]> > On 25 April 2011 09:17, Alexander Gabriel <[email protected]> wrote: > > > Hi > > I've imported several bulk json files so far. > > > > This time I get an error I can't solve. > > I'm using: curl -vX POST http://127.0.0.1:5984/evab/_bulk_docs< > http://barbalex:[email protected]:5984/evab/_bulk_docs>-H "Content-Type: > application/json" -d @Feld.json > > The document passes the text on http://www.jsonlint.com/. > > > > Any idea what is wrong? > > > > Help is much appreciated. > > > > > #L2 s/rows/docs/ > > your JSON is valid, but does not comply with _bulk_docs spec. > > > http://wiki.apache.org/couchdb/HTTP_Bulk_Document_API#Modify_Multiple_Documents_With_a_Single_Request > > http://techzone.couchbase.com/sites/default/files/uploads/all/documentation/couchbase-api-db.html#couchbase-api-db_db-bulk-docs_post > > A+ > Dave >
