Details
-
Bug
-
Resolution: Duplicate
-
Critical
-
None
-
1.1.2
-
Security Level: Public
-
None
-
Version: 2.0.1 enterprise edition (build-170)
Client library version 1.1.2
Description
View query returned
{"error":"bad_request","reason":"attachments not supported in Couchbase"}The query was:
$cb->view('/lnp/_design/lnp/_view/lnp_stats?key=[2013,3,22,11001]');
Note the malformed query (the extra bucket before _desing)
The server returned: (captured using sudo tcpdump s 1024 -l -i eth1 -A 'tcp port 8092') < Thanks avsej
HTTP/1.1 400 Bad Request
Server: MochiWeb/1.0 (Any of you quaids got a smint?)
Date: Fri, 22 Mar 2013 16:42:41 GMT
Content-Type: application/json
Content-Length: 74
Cache-Control: must-revalidate
$cb->getResultCode() returned COUCHBASE_SUCCESS <-- Here is the issue