Error when querying Databse

Hello Couchbase friends here I am again asking for some of your help. I have a problem querying the database using n1ckl when I attempt to do the query I get an exception.

if (jsonError.errors.length > 0) {
^
TypeError: Cannot read property ‘errors’ of null

and I have the error code that is equal to errCode = 21 I have not had any success searching for this error code.
This is using the node sdk version 2.1.2. I hope some of you can give me some light and guide me in the right path that will eventually solve my problem.

Hey @fernando_l,

Can you please share two things with me?

  1. The full query you’re trying to execute
  2. A Node.js code snippet containing information about how you’re trying to execute the query

With this I will be able to help you better.

Best,