Error running a query on iOS
I'm evaluating Couchbase Mobile for iOS for use in an upcoming product. I managed to get creates tested and now I'm trying to test reads/queries and having difficulties.
I create a database that has two documents that each have 10 rows of the form "x", "current date" for the key-value pair, where x is a number from one to 10(basically the connection number as I get the date from a server) and current date, is, well, the current date.
When I try to query, I keep getting:
2012-10-08 10:51:31.396 CouchBaseTest[1660:f803] WARNING: Couldn't parse rows from CouchDB view response
2012-10-08 10:51:31.398 CouchBaseTest[1660:f803] REST: Error = The operation couldn’t be completed. (CouchHTTPError error 500.)
I tossed the URL from my CouchQuery operation into a browser and got a valid JSON response:
However, turning on http fox in FIrefox, I Noticed I was getting a COntent-Length of 0 in the response headers. Could that be throwing off the sdk? I'm using CouchDB/2.0.0-beta (Erlang OTP/R14A) for a server also per the response header. My http status is 304(not modified).
Any ideas? Should I post my code?