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

LinkServlet returns error code as ASXxxx instead of 2xxxx format

    XMLWordPrintable

Details

    • Untriaged
    • Centos 64-bit
    • 1
    • No
    • CX Sprint 223, CX Sprint 224

    Description

      Steps to reproduce - 

      1. Create a dataverse with multipart name.

        Create dataverse x.y;
        

      2. Try creating remote or external link using REST API with the dataverse parameter set as above created dataverse name.

        127.0.0.1 - - [03/Nov/2020:11:16:44 +0000] "POST /analytics/link?dataverse=x.y&name=cblink&type=s3&accessKeyId=AKIAXQQ2DIGA5GT5HHHQ&secretAccessKey=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&region=us-west-1 HTTP/1.1" 400 47 - "PostmanRuntime/7.26.5"
        

      Error is raised.

      ASX1063: Cannot find dataverse with name `x.y`
      

      Analytics_info.log

      ==> analytics_info.log <==
      2020-11-03T11:16:44.685+00:00 INFO CBAS.server.AbstractServlet [HttpExecutor(port:9111)-2] sendError: status=400 Bad Request, message=ASX1063: Cannot find dataverse with name `x.y`
      

       

      Attachments

        Issue Links

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

          Activity

            People

              umang.agrawal Umang
              umang.agrawal Umang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty