How to resolve this error in an approval action Power Automate
? Rachel Irabor
DevRel | Microsoft MVP | Global Public Speaker | Technology Evangelist
My name is Rachel Irabor, and I’m a Power Platform and Dynamics 365 CRM developer and trainer. I love to document what I have learned or encountered.
In this blog post, I will show you how to resolve a failed flow for an approval action with the error message:
“The request failed. Error code: ‘InvalidRequestContent’. Error Message: ‘The request content was invalid and could not be decarialized: ‘Could not find member ‘ContentBytes’ on object of type ‘ApprovalsConnectorFileAttachment’. Path ‘attachments[0].ContentBytes’, line 1, position 460.’.’.”
The reason the flow failed was:
In this part of this flow, I worked on the output to pick up attachments in the approval action.
.
The flow failed because of the compose action, I used ContentBytes. This resulted in an error in the approval action.
Let fix this
Change it from ContentBytes to Content
Now go ahead and run the flow
Thank you for reading!
Please check out my YouTube channel and subscribe. Thank you!
Manager @ Cognizant
3 个月Wow ! Extremely happy to see my few hours struggle resolved with your inputs. Many Thanks ??
Compliance Officer at New Credit America
9 个月This is great information. Do you happen to have training on how to create the complete document approval workflow?
--
11 个月Thank you, it worked perfect?
Realtor Associate @ Next Trend Realty LLC | HAR REALTOR, IRS Tax Preparer
1 年Thanks for posting.