couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wordit Ltd <wordi...@googlemail.com>
Subject Correct db name but receiving 400 response
Date Wed, 03 Nov 2010 16:57:36 GMT
Can anyone help with this strange error. I am trying to connect to a
db with jquery like this:

var $db = $.couch.db("fruit");

The name is written correctly. And get the error:

"400 reason:Only lowercase characters (a-z), digits (0-9), and any of
the characters _, $, (, ), +, -, and / are allowed. Must begin with a
letter."

Checking the json output, CouchDB shows this:
{"db_name":"fruit","doc_count":4,...

The name is correct, no illegal chars, so why the error?
I'm using couchone hosting, so it can't be my installation.

Many Thanks,

Marcus

Mime
View raw message