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

Copy REST API returns 504 for pages with many attachments

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Medium
    • Page - Copy

    Description

      Issue Summary

      Wrong API response for /copy REST API.

      Steps to Reproduce

      1. create a page with 1000 attachments.
      1. call below REST API
      https://YOUR_SITE.atlassian.net/wiki/rest/api/content/PAGE_ID_WITH_1000_ATTACHEMNTS/copy
      body:
      {
        "copyAttachments": true,
      	"destination": {
          "type": "parent_page",
          "value": "PAGE_ID_WITH_1000_ATTACHEMNTS"
        },
        "pageTitle": "copy_test"
      }
       

       

      Expected Results

      Page copied and API should return 200.
       

      Actual Results

      Page copied and API returns 504.

      Workaround

      Use /pagehierarchy/copy instead of /copy

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              7af4c19cf335 Damian Kleszcz
              Votes:
              35 Vote for this issue
              Watchers:
              26 Start watching this issue

              Dates

                Created:
                Updated: