Error: An unknown N1QL error occured. This is usually related to an out-of-memory condition


We recently had a similar issue, yet it turns out the problem was that our firewall opened 8091 and 8092 port for couchbase VM, but not 8093. In this setting, nodejs SDK can connect to the cluster and make normal queries, yet cannot do any N1QL query…

Hope it helps!


@Iguo This helped solve my problem. Thanks!