{"action":"created","issue":{"url":"https://api.github.com/repos/pouchdb/pouchdb/issues/4023","labels_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/4023/labels{/name}","comments_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/4023/comments","events_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/4023/events","html_url":"https://github.com/pouchdb/pouchdb/issues/4023","id":92895446,"number":4023,"title":"HTTP Error 500 with cloudant","user":{"login":"natcohen","id":7813574,"avatar_url":"https://avatars.githubusercontent.com/u/7813574?v=3","gravatar_id":"","url":"https://api.github.com/users/natcohen","html_url":"https://github.com/natcohen","followers_url":"https://api.github.com/users/natcohen/followers","following_url":"https://api.github.com/users/natcohen/following{/other_user}","gists_url":"https://api.github.com/users/natcohen/gists{/gist_id}","starred_url":"https://api.github.com/users/natcohen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natcohen/subscriptions","organizations_url":"https://api.github.com/users/natcohen/orgs","repos_url":"https://api.github.com/users/natcohen/repos","events_url":"https://api.github.com/users/natcohen/events{/privacy}","received_events_url":"https://api.github.com/users/natcohen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":30,"created_at":"2015-07-03T15:25:03Z","updated_at":"2015-07-23T15:00:28Z","closed_at":null,"body":"I sync my application with cloudant and everything worked well until 1-2 days ago. I now get a HTTP error 500; I didn't change anything in the replication process or even in my application. \r\n\r\nDid something change in cloudant to make it incompatible with pouchdb 3.6.0?"},"comment":{"url":"https://api.github.com/repos/pouchdb/pouchdb/issues/comments/124132853","html_url":"https://github.com/pouchdb/pouchdb/issues/4023#issuecomment-124132853","issue_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/4023","id":124132853,"user":{"login":"natcohen","id":7813574,"avatar_url":"https://avatars.githubusercontent.com/u/7813574?v=3","gravatar_id":"","url":"https://api.github.com/users/natcohen","html_url":"https://github.com/natcohen","followers_url":"https://api.github.com/users/natcohen/followers","following_url":"https://api.github.com/users/natcohen/following{/other_user}","gists_url":"https://api.github.com/users/natcohen/gists{/gist_id}","starred_url":"https://api.github.com/users/natcohen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natcohen/subscriptions","organizations_url":"https://api.github.com/users/natcohen/orgs","repos_url":"https://api.github.com/users/natcohen/repos","events_url":"https://api.github.com/users/natcohen/events{/privacy}","received_events_url":"https://api.github.com/users/natcohen/received_events","type":"User","site_admin":false},"created_at":"2015-07-23T15:00:27Z","updated_at":"2015-07-23T15:00:27Z","body":"@willholley here is the 500 error... Sometimes I get a serie of \"Uncaught SyntaxError: Unexpected end of input\"\r\n\r\no {status: 500, name: \"unknown_error\", message: \"Database encountered an unknown error\", error: true, result: Object}\r\nerror: true\r\nmessage: \"Database encountered an unknown error\"\r\nname: \"unknown_error\"\r\nresult: Object\r\ndoc_write_failures: 1\r\ndocs_read: 1\r\ndocs_written: 0\r\nend_time: Thu Jul 23 2015 16:45:54 GMT+0200 (Europe de l’Ouest (heure d’été))\r\nerrors: Array[1]\r\n0: o\r\nerror: true\r\nmessage: \"Database encountered an unknown error\"\r\nname: \"unknown_error\"\r\nresult: Object\r\ndoc_write_failures: 1\r\ndocs_read: 1\r\ndocs_written: 0\r\nend_time: Thu Jul 23 2015 16:45:54 GMT+0200 (Europe de l’Ouest (heure d’été))\r\nerrors: Array[1]\r\nlast_seq: 965\r\nok: false\r\nstart_time: Thu Jul 23 2015 16:45:43 GMT+0200 (Europe de l’Ouest (heure d’été))\r\nstatus: \"aborting\"\r\n__proto__: Object\r\nstatus: 500\r\n__proto__: r\r\nlength: 1\r\n__proto__: Array[0]\r\nlast_seq: 965\r\nok: false\r\nstart_time: Thu Jul 23 2015 16:45:43 GMT+0200 (Europe de l’Ouest (heure d’été))\r\n__proto__: Invalid Date\r\nstatus: \"aborting\"\r\n__proto__: Object\r\nstatus: 500__proto__: rconstructor: r(e){Error.call(e.reason),this.status=e.status,this.name=e.error,this.message=e.reason,this.error=!0}toString: (){return JSON.stringify({status:this.status,name:this.name,message:this.message})}\r\n__proto__: d"}}