web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / BadRequest. The reques...
Power Automate
Unanswered

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.'.'.

(0) ShareShare
ReportReport
Posted on by 41

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?

 

Capture.JPG

Categories:
I have the same question (0)
  • Verified answer
    IrinaV Profile Picture
    12 on at

    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

    IrinaV_0-1654063469818.png

    IrinaV_1-1654063502067.png

     

  • suresh2 Profile Picture
    2 on at

    Could you please provide full flow screeshot?

  • Shijina Profile Picture
    17 on at

    Thank you for this solution. 🙂 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard