Issues with 'Create document from a template' in Google Docs: Text Replacement and Dynamic Image Insertion Errors

Hello everyone,

I’m using the “Create document from a template” step in Google Docs through Make and I’m encountering a couple of issues. I’d appreciate any advice or solutions from the community.

Text Replacement Error:
I’m trying to replace text within the template, but I receive an error message stating: “Invalid JSON payload received. Unknown name ‘replaceText’ at ‘requests[1].replace_all_text’: Proto field is not repeating, cannot start list.” It appears there’s an issue with field recognition in the API. Has anyone encountered a similar issue or knows the correct way to format this?

Dynamic Image Insertion:
Additionally, I am looking to dynamically insert images into the document using URLs, but I’m struggling to understand how to do this effectively. The goal is to replace an existing image with a new one via URL in a Google Docs document generated from a template. What is the correct method to achieve this?

Any help or guidance would be greatly appreciated. Thanks in advance for your support!