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

Copy REST API returns 504 for pages with many attachments

XMLWordPrintable

      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

              akakade@atlassian.com Aniruddha Kakade
              7af4c19cf335 Damian Kleszcz
              Votes:
              62 Vote for this issue
              Watchers:
              46 Start watching this issue

                Created:
                Updated:
                Resolved: