• Minor
    • Confluence

      Issue Summary

      This is reproducible on Data Center: NA

      Steps to Reproduce

      1. Run a CQL query with macros and expand - for example

      /wiki/rest/api/content/search?limit=50&expand=body.storage,space,version&cql=macro in ("easy-heading-free") and type in (blogpost, page)

      1. The result will return a pagination cursor. Use the cursor to go to the next and it fails some times - try using a script.

      /wiki/rest/api/content/search?next=true&cursor=_f_NTA%3D_sa_WyJcdDIyMDE1Nzg5MyBpJGBLSHI%2BSkVhUEhUQVJXPj8%2BMyBjcCJd&expand=body.storage,space,version&limit=50&start=50&cql=macro in ("easy-heading-free") and type in (blogpost, page)

      1. An error 400 Bad request is returned from XpSearch Aggregator

      Expected Results

      Actual pagination results

      Actual Results

      An exception is returned 

      {"statusCode":400,"message":"com.atlassian.confluence.api.service.exceptions.SSStatusCodeException: CQL was parsed but the search manager was unable to execute the search. Error message: com.atlassian.confluence.api.service.exceptions.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

            [AI-1011] CQL pagination cursor returns 400 bad request at times

            No updates yet unfortunately

            Hrishikesh Sathe added a comment - No updates yet unfortunately

            Gotcha, let me ask them about it.

            Hrishikesh Sathe added a comment - Gotcha, let me ask them about it.

            Hrishikesh Sathe added a comment - Tickets affected - https://ecosystem.atlassian.net/browse/ECOHELP-55265

              atran2@atlassian.com Alex Tran
              a59c630a1638 Hrishikesh Sathe
              Affected customers:
              0 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated: