Got the following error during a Start and wait for an approval action:
BadRequest. 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 3013.'.'.
Anyone familiar with this error and what it means?
Thank you for this solution. 🙂
Could you please provide full flow screeshot?
Hello,
I found a solution online: https://powerusers.microsoft.com/t5/General-Power-Automate/Flow-attachment-Error/m-p/1348202#M81123
You have to convert the attachment content into Base64 within the Append to array function
{
"name":DisplayName,
"content": base64(body('Get_attachment_content'))
}
use the formula function to format the content to base64
Tomac
986
Moderator
stampcoin
699
Super User 2025 Season 2
Riyaz_riz11
577
Super User 2025 Season 2