How to fix error while using LookupIn in couchbase document error: "could not execute one or more multi lookups or mutations"

Viewed 72

I am executing the below code in my code flow and getting an error "could not execute one or more multi lookups or mutations". Please suggest if I am doing something wrong here.

I am using go SDK.

frag, err := bucket.LookupIn(id).Get("key").Execute()
if err != nil {
   log.Error("error:", err)
}
1 Answers

I found the property "key" is missed in that document. Looks error message is misleading from actual cause of issue.

It should be like "path not found".

Related