Hello,
Recently we started using SDK 3.0 and couch client 3.0.9. We are able to connect to the bucket and able to read the documents without any issues. But from java when we insert the document we are getting the below error
threw exception [Request processing failed; nested exception is com.couchbase.client.core.error.CouchbaseException: UpsertRequest failed with unexpected status code NO_ACCESS {“completed”…
We tried t ouse the sample provided in couch.
JsonObject arthur = JsonObject.create()
.put(“name”, “Arthur”)
.put(“email”, “kingarthur@couchbase.com”)
.put(“interests”, JsonArray.from(“Holy Grail”, “African Swallows”));
// Store the Document
collection.upsert(
"u:king_arthur",
arthur
);
I am sure the credentials that we use to connect the couch has permissions to insert or upsert a document. I was able to add document using console using this credentials. Am I missing anything?
Regards