Uploaded image for project: 'Couchbase node.js Client Library'
  1. Couchbase node.js Client Library
  2. JSCBC-649

Error: An unknown N1QL error occured. This is usually related to an out-of-memory condition. Check the errors responseBody property or inspect the cluster logs for further details.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Blocker
    • None
    • None
    • None
    • None
    • 1
    • Critical

    Description

      ```
      var couchbase = require('couchbase');
      var cluster = new couchbase.Cluster('couchbase://xxxxxxxxx',

      {     // expiry: 30000, }

      );
      // For Couchbase > 4.5 with RBAC Auth
      cluster.authenticate('xxxxxxx', 'xxxxxxxxxx');
      var bucket = cluster.openBucket('xxxxxx');

      let n1ql = couchbase.N1qlQuery;

      let req = bucket.query(n1ql.fromString(`INSERT INTO wayship (KEY, VALUE) VALUES ($1, $2)`, ['test', 'asdfa']));
      req.on('data', function()

      {     debugger; })

      req.on('error', function() {     debugger; }

      )
      ```

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            brett19 Brett Lawson
            sudhirbaru sudhir
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty