I encountered a problem that the bucket is inaccessible when using N1QL(either JAVA API and neither CQB), but it is accessible when using bucket.get(). Interestingly, the bucket is visible when using the web portal, and so does the document in the bucket.
The error message got from the server is “code”: 12003, “msg”: "Keyspace not found keyspace XXXX.
The bucket is password protected, and I am not sure about if this causes the problem as I have googled something form the internet, stating that due to the password,
In addition, I use the cbq and got the same error code and message.
My development is listed in below
JAVA JDK 1.7
JAVA SDK 2.1
Couchbase 4.0 and this is installed on the ubuntu system
Can somebody pitch a help? Many thanks.