Forge Confluence Macro PDF export shows image as spinning icon

Hi there,

I recently encountered a new issue in my Forge app on the PDF export process. The app uses custom UI to render diagram in macros, and stores an image representation as Confluence page attachment. When user exports to PDF, the app creates an ADF representation referencing the Confluece attachment(an example attached below).

This approach worked well for months in this year, and still works in Word export. However, now I found the PDF export shows an spinning icon instead of the right image(a screenshot attached).

Can someone please help on this issue?

Export ADF content example:

{
    type: "doc",
    version: 1,
    content: [
      {
        "type": "mediaSingle",
        "attrs": {
          "layout": "center"
        },
        "content": [
          {
            "type": "media",
            "attrs": {
              "type": "external",
              "url": "https://whimet4.atlassian.net/wiki/download/attachments/123456/example.png"
            }
          }
        ]
      }
    ]
  }

PDF export example:

WHIMET4-test lite2-051225-230646 (1).pdf (21.4 KB)

I found there’s a Jira ticket related to this issue: