...
The copyPage action copies the storage format from the source page to the target page without any modification. A Lucid Chart diagram uses attachment ID to render the image. This Lucid Chart diagram is created in the target instance with a different attachment ID.
Solution
Run getAttachmentList on the source and target page to get the corresponding attachment IDs for the Lucid Chart file (e.g. myLucidChart.json).
Source page (page ID 1)
Code Block theme Midnight --action getAttachmentList --id 1 --outputType table --columns 2,4
Target page (page ID 2)
Code Block theme Midnight --action getAttachmentList --id 2 --outputType table --columns 2,4
Run modifyPage to update the attachment IDs in the Lucid Chart macro on the target page (page ID 2) where "12345" is the attachment ID from the source page (page ID 1) and "67890" is the attachment ID on the target page (page ID 2).
Code Block theme Midnight --action modifyPage --id 2 --findReplace "12345:67890"