incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Cottlehuber <d...@muse.net.nz>
Subject Re: bulk import error
Date Mon, 25 Apr 2011 08:38:47 GMT
On 25 April 2011 09:17, Alexander Gabriel <alex@barbalex.ch> 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:dLhdMg12@127.0.0.1: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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message