cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
esimmo15
Regular Visitor

Request Content Invalid and Could Not Be Deserialized - Forms File Upload and Approvals

Hello,

 

I am building an approval process in PowerAutomate that is to do the following:

1. Extract multiple file uploads from a question in a MS Form

2. Attach the files to an approval process (simple approve/reject)

 

I am getting the following error message: "InvalidRequestContent": The request content was invalid and could not be deserialized (see below)

esimmo15_0-1664454143300.png

 

Here are screenshots of my flow:

esimmo15_1-1664454227854.png

esimmo15_2-1664454262574.png

esimmo15_3-1664454311079.png

Not sure why the content cannot be deserialized, but any suggestions are appreciated (with visuals if possible - apologies, I am a novice).

 

 

1 REPLY 1
tom_riha
Super User
Super User

Hello @esimmo15 ,

approval task attachments have a different format than email attachments (content instead of contentBytes):

{
  "Name": <DisplayName>,
  "content": <AttachmentContent or FileContent>
}

 



[ If I have answered your question, please Accept the post as a solution. ]
[ If you like my response, please give it a Thumbs Up. ]

[ I also blog about Power Automate solutions even for non-IT people. ]

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (3,411)