In reference to the forum post
The user was getting "client internal error" which is hard to debug as to why the error occurred.
In this case the user was using a N1QL query to JOIN on two buckets out of which user did not have enough access set up on one of the buckets.
It would have been easy if the error message was something like 'unauthorized access on bucket <bucket-name>' something along those lines.
|For Gerrit Dashboard: GOCBC-1127|
|155808,2||GOCBC-1127: Improve n1ql error handling||master||gocbcore||Status: MERGED||+2||+1|
|155847,2||GOCBC-1127: Improve n1ql error handling||v9.1||gocbcore||Status: MERGED||+2||+1|
|159219,2||Upgrade gocbcore to 9.1.5+||cheshire-cat||cbft||Status: MERGED||+2||+1|
|159221,2||Upgrade gocbcore to 9.1.5+||cheshire-cat||n1fty||Status: MERGED||+2||+1|
|159222,2||Upgrade gocbcore to 9.1.5+||cheshire-cat||query||Status: MERGED||+2||+1|
|159232,2||Upgrade gocbcore to 9.1.5+||master||n1fty||Status: MERGED||+2||+1|
|159233,2||Upgrade gocbcore to 9.1.5+||master||query||Status: MERGED||+2||+1|