Hi,

On 11 Feb 2009, at 00:22, Wout Mertens wrote:

I'm trying to run the couchdb svn head and I'm not able to create documents or run the test suite using Futon. I tried both Safari and Firefox. Troubleshooting further I tried curl:

$ curl -X PUT -d '{"keys": ["param1", "param2", "paramN"]}' 
http://localhost:5984/test/foo
{"error":"error","reason":"badarg"}

What Paul said or use POST without `_id`.
You also need `-H "Content-Type: application/json"` at least.


This error is the same as what Safari and Firefox give me. CouchDB itself just says:
[error] [<0.155.0>] Uncaught error in HTTP request: {error,badarg}
[info] [<0.155.0>] 127.0.0.1 - - 'PUT' /test/foo 500

Set the log level to `debug` in your local ini.

I'm running Erlang 5.6.0

Try 5.6.5. And fresh checkouts of CouchDB trunk as well.

Cheers
Jan
--

Reply via email to