couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcello Nuccio <marcello.nuc...@gmail.com>
Subject Re: Got an exception when I creating the document
Date Fri, 08 Jul 2011 10:28:30 GMT
I have never used jcouchdb, so I do not know if it is relevant:

 - "id" should be "_id";
 - "_design\/twits" should be "_design/twits" or "_design%2Ftwits".

Other questions:

What is the output of http://localhost:5984/ and http://localhost:5984/_log ?
(assuming your couch is on localhost:5984).

How did you install CouchDB?

Does document creation from futon ( http://localhost:5984/_utils/ ) works?

Marcello

2011/7/8 Eranda Sooriyabandara <070468d@gmail.com>:
> Hi all,
> I got following error when I tried to create a document. What can be the
> reason for this exceptio.
>
> org.jcouchdb.exception.DataAccessException: error creating document
> {"id":"_design\/twits","language":"javascript","lists":{},"views":{}}in
> database 'TwitApp': code 500
>
> thanks
> Eranda Sooriyabandara
> Blog: http://www.emsooriyabandara.blogspot.com/
> LInkedIn: http://lk.linkedin.com/in/erandasooriyabandara
>

Mime
View raw message