Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-1998

Invalid Encoding parameter causes HTTP 400 bad request in Query

    XMLWordPrintable

    Details

      Description

      Encoding enumeration only has one value Encoding.Utf8 which is ToString()'d and sent to the server as "Utf8"; the server fails with HTTP 400 Bad Request because the expected value for Encoding is "UTF-8":

      HTTP/1.1 400 Bad Request
      Content-Length: 259
      Content-Type: application/json; version=2.0.0-N1QL
      Date: Thu, 20 Jun 2019 19:49:21 GMT

      {
      "requestID": "a9ecd94c-0271-41b3-8e0d-8d60888bebf4",
      "errors": [

      Unknown macro: {"code"}

      ],
      "status": "fatal",
      "metrics":

      Unknown macro: {"elapsedTime"}

      }

        Attachments

        For Gerrit Dashboard: NCBC-1998
        # Subject Branch Project Status CR V

          Activity

          Hide
          jmorris Jeff Morris added a comment -

          Patched on both master (3.0) and release27 branches.

          Show
          jmorris Jeff Morris added a comment - Patched on both master (3.0) and release27 branches.

            People

            • Assignee:
              jmorris Jeff Morris
              Reporter:
              jmorris Jeff Morris
            • 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

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.