I want to bulk-replace normal text across a space with an Insert Excerpt macro where the excerpt is defined on a common page. I am using Confluence Cloud and tried doing it via API but it didn't work. It adds the insert excerpt macro in the destination page but the value of the excerpt is missing. It throws the error - Error loading excerpt from "".
Is there a way to achieve this? I have to update around 1000 pages.