Hello Automate Team,
I hope everyone is doing well.
I have created a variable in my Word template of type "picture" and am trying to insert an image URL from Power Automate to populate the image in the template.
Unfortunately, I am encountering issues. I receive the following error:
(
{
"status": 400,
"message": "The image is not of type PNG or JPG. Please provide an image of type PNG or JPG.\r\nclientRequestId: a2bd1918-79f9-4ae8-a5d5-72a4b5e78c32",
"error": {
"message": "The image is not of type PNG or JPG. Please provide an image of type PNG or JPG."
},
"source": "wordonlinebusiness-ne.azconn-ne-003.p.azurewebsites.net"
}
)
even though the URL ends with ".png".
Here's what I've done so far:
retrieved the URL in the first Compose step,
attempted to extract the content of the URL,
and converted the content to Base64 before inserting it into the "Populate Word Template" step.
Does anyone have any suggestions on how to resolve this issue?
Thank you in advance!