REST API call will fail and time out with 504(Gateway Timeout) status Code

XMLWordPrintable

    • 2
    • Severity 3 - Minor

      Issue Summary

      The issue is that when making a REST API call to retrieve records using the endpoint /wiki/rest/api/content will timeout with 504 when the start position is 3000 or more.
      For example:

      Steps to Reproduce

      1. Using postman make the following call to fetch contents
      2. https://SITENAME.atlassian.net/wiki/rest/api/content?expand=metadata.currentuser.viewed,history.lastUpdated.when&limit=200&start=3400

      Expected Results

      should return results with a 200 status code.

      Actual Results

      Return 504 gateway timeout.

      Workaround

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

            Assignee:
            Unassigned
            Reporter:
            David WS Ingty
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: