Hi all,
I've been building flows for my company for a while now. They have been mostly really simple approval flows for different processes.
The flow I'm having problems with gets triggered when a new item is created in a Sharepoint List. It's supposed to get the attachments from the record and start an approval process. I have this same process working in another flow with no issues.
I use the approach to get contents and attach them to the approval from this post How to get Get Attachment into power automate - Microsoft Tech Community
I'm getting this error during the Start and wait for an approval step on my flow:
The request failed. Error code: 'InvalidRequestContent'. Error Message: 'The request content was invalid and could not be deserialized: 'Unexpected character encountered while parsing value: {. Path 'attachments[0].Content', line 1, position 1002.'.'.
From the error I gather that there's something going on with the attachments (variable) but I'm not sure where to go from here.
I use the same set of steps to get attachments and content on both flows, but only one of them is working. I also tried testing with the same attachment on the 2 different flows just in case but same result. Here are 2 snips of the different flows. One fails and the other one doesn't.
Any help on how to understand the error itself and troubleshoot it is greatly appreciated
**Edit**
Here's a couple of snips on the steps to get attachments, apply to each, start and wait for approval: