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

"creds" field not being acknowledged by server

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • backlog-2.0
    • 2.2.1
    • library

    Description

      This may be a server issue...implementation is based off: https://docs.google.com/document/d/1Uyv4t06DNGq7TxJjGI_T_MbbEYf8Er-imC7yzTY0uZw/edit#heading=h.qtfo6hj23d02

      Request:

      {"statement":"SELECT * FROM `authenticated` WHERE something = 'somevalue'","timeout":"75000ms","creds":[{"user":"local:authenticated","pass":"secret"}]}
      

      Response:

      HTTP/1.1 400 Bad Request
      Content-Length: 394
      Content-Type: application/json; version=1.0.0
      Date: Tue, 03 Nov 2015 18:10:25 GMT
       
      {
          "requestID": "9e90c88c-e4c6-4583-8bde-9eb37b116ef1",
          "errors": [
              {
                  "code": 1070,
                  "msg": "creds has to be of type array of { user, pass }"
              }
          ],
          "status": "fatal",
          "metrics": {
              "elapsedTime": "48.607µs",
              "executionTime": "48.226µs",
              "resultCount": 0,
              "resultSize": 0,
              "errorCount": 1
          }
      }
      

      Attachments

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

        Activity

          People

            jmorris Jeff Morris
            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