cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Super User
Super User

Re: Anyone help with this failure expression

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

Re: Anyone help with this failure expression

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

Approval failing.jpg

Super User
Super User

Re: Anyone help with this failure expression

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

Sdjackson Helper II
Helper II

Re: Anyone help with this failure expression

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
firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (6,991)