You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by sg...@gmail.com on 2009/11/06 16:48:23 UTC
create db using put
I am attempting to create a new blank db using a put. CouchDb allways
returns a 500. Is this feature broken in 0.10? or am I doing something
wrong?
Re: Re: create db using put
Posted by Brian Candler <B....@pobox.com>.
On Mon, Nov 09, 2009 at 06:51:24PM +0000, sgtmcd@gmail.com wrote:
> I posted /mirrorAgent1 and that gave a 500. as soon as I posted
> /mirroragent1 it accepted and created the database.
Thanks, IMO this should be 400 not 500. But at least the body gives a
sensible error message. I have raised this as
https://issues.apache.org/jira/browse/COUCHDB-566
Re: Re: create db using put
Posted by sg...@gmail.com.
On Nov 7, 2009 3:48pm, Brian Candler <B....@pobox.com> wrote:
> On Fri, Nov 06, 2009 at 10:23:47AM -0600, Shawn McDermott wrote:
> > On Fri, Nov 6, 2009 at 9:53 AM, David Coallier
> david.coallier@gmail.com>wrote:
> >
> > > 2009/11/6 sgtmcd@gmail.com>:
> > > > I am attempting to create a new blank db using a put. CouchDb
> allways
> > > > returns a 500. Is this feature broken in 0.10? or am I doing
> something
> > > > wrong?
> > > >
> > >
> > >
> > > Could you give a bit more information on the URL you are invoking and
> > > how you are executing your HTTP request?
> > >
> > > Cheers,
> > >
> > > --
> > > Slan,
> > > David
> > >
> > I figured it out finally.....however, thanks for the quick replies. I
> was
> > sending an invalid database name. oops!
> But you shouldn't get a 500 error, it should be a 4xx, so this may still
> be
> a bug.
> Can you post the exact erroneous URL you were PUTing to, and the exact
> response you got?
I posted /mirrorAgent1 and that gave a 500. as soon as I posted
/mirroragent1 it accepted and created the database.
Re: create db using put
Posted by Brian Candler <B....@pobox.com>.
On Fri, Nov 06, 2009 at 10:23:47AM -0600, Shawn McDermott wrote:
> On Fri, Nov 6, 2009 at 9:53 AM, David Coallier <da...@gmail.com>wrote:
>
> > 2009/11/6 <sg...@gmail.com>:
> > > I am attempting to create a new blank db using a put. CouchDb allways
> > > returns a 500. Is this feature broken in 0.10? or am I doing something
> > > wrong?
> > >
> >
> >
> > Could you give a bit more information on the URL you are invoking and
> > how you are executing your HTTP request?
> >
> > Cheers,
> >
> > --
> > Slan,
> > David
> >
> I figured it out finally.....however, thanks for the quick replies. I was
> sending an invalid database name. oops!
But you shouldn't get a 500 error, it should be a 4xx, so this may still be
a bug.
Can you post the exact erroneous URL you were PUTing to, and the exact
response you got?
Re: create db using put
Posted by Shawn McDermott <sg...@gmail.com>.
On Fri, Nov 6, 2009 at 9:53 AM, David Coallier <da...@gmail.com>wrote:
> 2009/11/6 <sg...@gmail.com>:
> > I am attempting to create a new blank db using a put. CouchDb allways
> > returns a 500. Is this feature broken in 0.10? or am I doing something
> > wrong?
> >
>
>
> Could you give a bit more information on the URL you are invoking and
> how you are executing your HTTP request?
>
> Cheers,
>
> --
> Slan,
> David
>
I figured it out finally.....however, thanks for the quick replies. I was
sending an invalid database name. oops!
Re: create db using put
Posted by David Coallier <da...@gmail.com>.
2009/11/6 <sg...@gmail.com>:
> I am attempting to create a new blank db using a put. CouchDb allways
> returns a 500. Is this feature broken in 0.10? or am I doing something
> wrong?
>
Could you give a bit more information on the URL you are invoking and
how you are executing your HTTP request?
Cheers,
--
Slan,
David
Re: create db using put
Posted by Benoit Chesneau <bc...@gmail.com>.
On Fri, Nov 6, 2009 at 4:48 PM, <sg...@gmail.com> wrote:
> I am attempting to create a new blank db using a put. CouchDb allways
> returns a 500. Is this feature broken in 0.10? or am I doing something
> wrong?
>
It works. Could you provide the link you do ? Also some trace from
couchdb could help.
- benoƮt