Can't convert SharePoint Attachments to Base64ToBinary
I've been stuck on this flow for a little while now... The error states: The execution of template action 'Attachment_to_Ticket' failed: the result of the evaluation of 'foreach' expression '@outputs('Get_attachment_content')?['body']' is of type 'Object'. The result must be a valid array.
the error message tells you that the input of 'Attachment to ticket' loop is an object, not an array. You're using the attachment content, that's not something you can loop through. Move the actions inside 'Attachments to ticket' directly in the 'Apply to each 2' and then remove 'Attachment to ticket'.
[ If I have answered your question, please Accept the post as a solution. ] [ If you like my response, please give it a Thumbs Up. ]