CQL search with multiple filters returns HTTP 400 error stack: com.atlassian.confluence.api.service.exceptions.scale.SSStatusCodeException

XMLWordPrintable

    • 1
    • Severity 3 - Minor
    • 1

      Issue Summary

      HTTP 400 Bad Request error - “stack: com.atlassian.confluence.api.service.exceptions.scale.SSStatusCodeException: There was an illegal request passed to XP-Search Aggregator API : HTTP/1.1 400 Bad Request“ while running the CQL search with multiple filters, while the search works for individual filters.

      Steps to Reproduce

      1.  CQL search not working with two filters  -
        https://mysite.atlassian.net/wiki/rest/api/search?cql=type="ac:com.mute.confluence.plugins.lms:course-type" AND learningPath= 1 AND (favorite = "<AAID value>")  
      2.  CQL search working for individual filters -

      Expected Results

      CQL search works successfully having multiple filters in the query

      Actual Results

      The exception below is thrown 

      “stack: com.atlassian.confluence.api.service.exceptions.scale.SSStatusCodeException: There was an illegal request passed to XP-Search Aggregator API : HTTP/1.1 400 Bad Request“ 

      Workaround

      Currently, there is no known workaround for this behavior. A workaround will be added here when available

              Assignee:
              Unassigned
              Reporter:
              Ramachandran N
              Votes:
              21 Vote for this issue
              Watchers:
              17 Start watching this issue

                Created:
                Updated: