cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Sdjackson
Helper II
Helper II

Anyone help with this failure expression

Hi,

Today and yesterday, I am getting approval fails for flows that worked for two months with the following expression:

 

The request failed. Error code: 'XrmApiRequestFailed'. Error Message: 'Request to XRM API failed with error: 'Message: A record with matching key values already exists.
Code: 0x80040237

 

Is this a microsoft problem that I should wait out?

Stuart

4 REPLIES 4
manuelstgomes
Super User II
Super User II

Hi @Sdjackson 

 

Does this message occur in the "Approve" action or one after that process?

 

There's somewhere a double insert with the same key happening, so if you could share the Flow it would help to try to debug it.

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Cheers
Manuel

Sdjackson
Helper II
Helper II

That you for offering to help.  Here's a screen shot of the flow.  When I resubmit they often work?

Approval failing.jpg

Hi @Sdjackson 

 

What is the action that fails? The "Start and wait for approval"?

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Cheers
Manuel

Yes it's the start and wait for approval.  I have two that are failing.  One that's using dynamic content and one that's using an email address.  Both are failing.  All my flows without approvals are working fine.

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (49,201)