How to resolve this error in an approval action Power Automate

How to resolve this error in an approval action Power Automate

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.


Subscribe for the latest newsletters and articles from my Medium and LinkedIn accounts.


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!




Sherry Daniel

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?

Thank you, it worked perfect?

Alex Armasu

Founder & CEO, Group 8 Security Solutions Inc. DBA Machine Learning Intelligence

8 个月

Grateful for your post!

CHESTER SWANSON SR.

Next Trend Realty LLC./wwwHar.com/Chester-Swanson/agent_cbswan

9 个月

Thanks for posting.

要查看或添加评论,请登录

社区洞察

其他会员也浏览了