Skip to main content
Community site session details

Community site session details

Session Id : HKdP5g0v84/xSidprc3biu
Power Automate - Building Flows
Answered

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

Like (0) ShareShare
ReportReport
Posted on 27 May 2022 18:34:59 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

  • Shijina Profile Picture
    17 on 22 Feb 2024 at 19:50:42
    Re: 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.'.'.

    Thank you for this solution. 🙂 

  • suresh2 Profile Picture
    2 on 09 Dec 2022 at 16:15:14
    Re: 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.'.'.

    Could you please provide full flow screeshot?

  • Verified answer
    IrinaV Profile Picture
    12 on 01 Jun 2022 at 06:05:54
    Re: 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.'.'.

    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

     

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

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Loading complete