Hi,
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.
This flow is supposed to take a SharePoint item attachment and upload it via HTTP connector. The ideal result would be similar to what is shown in the Attaching a file in Zendesk section here: https://4sysops.com/archives/using-the-zendesk-api-with-microsoft-power-automate/
I would appreciate any help! Thank you!
Hello @ccammack ,
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'.
User | Count |
---|---|
92 | |
45 | |
21 | |
18 | |
17 |
User | Count |
---|---|
144 | |
50 | |
43 | |
40 | |
31 |