How to resolve this error in an approval action Power Automate
? Rachel Irabor
DevRel | Microsoft MVP | International Speaker | Program Manager | Community Manager | 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!
Compliance Officer at New Credit America
5 个月This is great information. Do you happen to have training on how to create the complete document approval workflow?
--
6 个月Thank you, it worked perfect?
Founder & CEO, Group 8 Security Solutions Inc. DBA Machine Learning Intelligence
8 个月Grateful for your post!
Next Trend Realty LLC./wwwHar.com/Chester-Swanson/agent_cbswan
9 个月Thanks for posting.