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

Better manage the case when a page MacroContentRendererQuery payload is larger than 2MB

XMLWordPrintable

    • 13
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Problem Definition

      Apps can set the content of a Confluence page to be larger than the 2MB limit.
      When that happens, the page will not be rendered and an error will be presented instead and the request will fail with the following:

      Exception querying the remote GraphQL service: io.atlassian.platform.micros.asynchttp.UnexpectedHttpStatusResponseException: Unexpected status code 413
      

      Suggested Solution

      Improve the app developer and user experience around this.

      A few ideas here on how to improve it:

      • improve the error handling of this condition
      • prevent the size of the page to reach the limit which causes this issue at the rendering time

      Notes

      This behaviour does not affect the page in edit mode, the error only occurs when opening the page in view mode.

      The new editor is affected, while the legacy editor was able to display the entire content of the page.

      Workaround

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

      Examples of impacted apps

      Source Editor for Confluence

      • Install the "Source Editor for Confluence" app
      • Edit the Page Source via the app and paste a very long text in the textbox

              aknight@atlassian.com Alex K
              ccurti Caterina Curti
              Votes:
              35 Vote for this issue
              Watchers:
              22 Start watching this issue

                Created:
                Updated:
                Resolved: