Copy Product Data (Confluence C2C) – migrated attachments return NotFoundError from media; preview and download fail on destination

XMLWordPrintable

    • 1
    • Severity 3 - Minor

      Issue Summary

      After copying Confluence spaces between two Cloud sites using Copy product data (Admin Hub), a subset of migrated attachments are broken on the destination:

      • Inline preview: "Ouch! We can't load the image."
      • Download: fails
      • Media API returns:
         
         {{{"error":
        Unknown macro: {"code"}

        }}}

      • New attachments uploaded to destination after the copy work fine.
      • Same attachments on the source site still work correctly.

      The plan shows Succeeded in Admin Hub — no errors or warnings visible to the customer.

      Steps to Reproduce

      1. Two Confluence Cloud sites (source + destination).
      1. Source site has spaces with pages containing inline image attachments.
      1. Run Copy product data (Admin Hub) for those spaces → plan completes as Succeeded.
      1. On destination, some inline images show "Ouch! We can't load the image." and download fails.
      1. Inspect broken image URL → media API returns NotFoundError.

      Expected Results

      • After a successful Copy Product Data run, all migrated attachments should be previewable and downloadable on the destination site.

      Actual Results

      • Preview is unavailable. The Copy Product Data plan shows Succeeded with no errors or warnings — the customer has no indication anything went wrong until they visit the pages.

      Workaround

      1. Delete destination space → re-run Copy Product Data
        • Loses any post-copy changes on destination.
        • Officially documented but disruptive.
      1. Manual re-upload via REST API
        • Download from source, POST to destination per attachment.
        • Not scalable beyond ~50 files.

              Assignee:
              Unassigned
              Reporter:
              Sripriya Gupta
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: