Hey Alexander, What does your couchdb log say? Do you have any design docs in this db? What about validation functions?
Typed on glass. Am 24.04.2011 um 23:17 schrieb Alexander Gabriel <[email protected]>: > 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://barbalex:[email protected]:5984/evab/_bulk_docs -H "Content-Type: > application/json" -d @Feld.json > > And I get this: > C:\Users\alex\EvabMobile>curl -vX POST > http://barbalex:[email protected]:5984/e > vab/_bulk_docs -H "Content-Type: application/json" -d @Feld.json > * About to connect() to 127.0.0.1 port 5984 (#0) > * Trying 127.0.0.1... connected > * Connected to 127.0.0.1 (127.0.0.1) port 5984 (#0) > * Server auth using Basic with user 'barbalex' > > POST /evab/_bulk_docs HTTP/1.1 > > Authorization: Basic YmFyYmFsZXg6ZExoZE1nMTI= > > User-Agent: curl/7.21.4 (i386-pc-win32) libcurl/7.21.4 zlib/1.2.5 > > Host: 127.0.0.1:5984 > > Accept: */* > > Content-Type: application/json > > Content-Length: 115221 > > Expect: 100-continue > > > < HTTP/1.1 100 Continue > < HTTP/1.1 500 Internal Server Error > < Server: CouchDB/1.0.2 (Erlang OTP/R14B) > < Date: Sun, 24 Apr 2011 21:11:37 GMT > < Content-Type: text/plain;charset=utf-8 > < Content-Length: 53 > < Cache-Control: must-revalidate > < > {"error":"unknown_error","reason":"function_clause"} > * Connection #0 to host 127.0.0.1 left intact > * Closing connection #0 > > The document passes the text on http://www.jsonlint.com/ > It is attached. > > Any idea what is wrong? > > Help is much appreciated. > > <Feld.json>
