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

[CX] Weird error message thrown on "statement=file.txt" in curl command

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • feature-backlog
    • feature-backlog
    • analytics
    • None
    • Untriaged
    • Unknown

    Description

      Give = instead of @ in "statement=file.txt" :

      curl -s --data pretty=true --data format=CLEAN_JSON --data-urlencode "statement=file.txt" http://localhost:8095/analytics/service

      Error message:
      "msg": "org.apache.asterix.common.exceptions.AsterixException: Encountered \"<EOF>\" at line 1, column 8.\nWas expecting one of:\n \"and\" ...\n \"is\" ...\n \"or\" ...\n \"^\" ...\n \"||\" ...\n \"\/\" ...\n \"idiv\" ...\n \"-\" ...\n \"%\" ...\n \"*\" ...\n \"+\" ...\n \"[\" ...\n \".\" ...\n \";\" ...\n "
      }],

      Attachments

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

        Activity

          People

            Prerna.Manaktala Prerna Manaktala (Inactive)
            Prerna.Manaktala Prerna Manaktala (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