Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-75361

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Medium
    • Page - Content APIs
    • None

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            c12b62758061 David WS Ingty
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: