I'm trying to create an email which has all attachments related to a list item, I'm using the following, which I have seen on multiple guides
However I'm getting the following error:
The variable 'AttachmentArray' of type 'Array' cannot be initialized or updated with value of type 'Object'.
The variable 'AttachmentArray' only supports values of types 'Array'.
Any help would be most appreciated.
Solved! Go to Solution.
Is the initialize variable set for an array, an object, or a string. It needs to be an array and the action above needs to be Append to Array, not set variable.
Hello @Ben_C
Could you add a " character before and after the display name and attachment_content values ?
{
"Name": "....",
"Content": "...."
}
Hope it helps!
Ferran
Thanks for the response, sadly this doesn't fix the issue. It's annoying as this flow was working before.
Is the initialize variable set for an array, an object, or a string. It needs to be an array and the action above needs to be Append to Array, not set variable.
Hi @Pstork1 thanks for the heads up, I had a set variable rather than append to array variable.