couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Davis <paul.joseph.da...@gmail.com>
Subject Re: Correct db name but receiving 400 response
Date Wed, 03 Nov 2010 17:17:21 GMT
On Wed, Nov 3, 2010 at 12:57 PM, Wordit Ltd <wordituk@googlemail.com> wrote:
> 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
>

Can you check the logs to see what the URL was that was requested?

Paul

Mime
View raw message