Erro 500

20 views
Skip to first unread message

Luiz Carlos Zanini

unread,
Jun 9, 2015, 8:56:59 PM6/9/15
to pou...@googlegroups.com
Hi guys,

I am using the following code:

// Update real time
     db.changes ({
         live: true,
         since: 'now'
         include_docs: true,
         // Filter mounted on Couchdb
         filter 'companies / Services'
         query_params: {
             Company: $ scope.empresa._id
         }
     }). On ('change', function (change) {

        console.log (change);

     }). On ('error', function (err) {
         console.log ('Error =' + err);
     });

But with a certain time the following error appears:

{"status": 500, "name": "UNKNOWN_ERROR", "message": "Database encountered an unknown error"}

thanks,

Danielo Rodríguez

unread,
Jun 13, 2015, 9:41:52 AM6/13/15
to pou...@googlegroups.com
Please take a look at couchdb documentation. This error can be caused by many things and most of them are explained there.

Dale Harvey

unread,
Jun 13, 2015, 4:28:27 PM6/13/15
to pou...@googlegroups.com
The CouchDB docs arent going to be particular useful here, theres no information about what the actual error is.

Is there any more debug information that would indicate what the error is? you can enable PouchDB.debug('*') to get more detailed logs

Cheers
Dale

On 13 June 2015 at 14:41, Danielo Rodríguez <rdan...@gmail.com> wrote:
Please take a look at couchdb documentation. This error can be caused by many things and most of them are explained there.

--
You received this message because you are subscribed to the Google Groups "PouchDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pouchdb+u...@googlegroups.com.
To post to this group, send email to pou...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pouchdb/7d1fc320-09e4-46ba-b6e8-5c7cc9f85bb3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages