Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-16659

N1QL resultset contains invalid JSON

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • None
    • 4.0.0
    • query
    • Security Level: Public
    • None

    Description

      Seen in a response:
      },\n\n ],\n "status": "timeout",\n "metrics":

      {\n "elapsedTime": "1m15.540084496s",\n "executionTime": "1m15.540053887s",\n "resultCount": 60085,\n "resultSize": 79286006\n }

      \n}\n

      Note the },\n\n ] (first text in the beginning) – this is invalid JSON as the final item of an array should not have a trailing comma.

      Source is here: https://forums.couchbase.com/t/error-data-received-on-socket-was-not-in-expected-format/5650

      Unfortunately I cannot obtain more context, and the parser is streaming, so the remaining text is basically what the parser was not able to consume.

      Attachments

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

        Activity

          People

            keshav Keshav Murthy
            mnunberg Mark Nunberg (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty