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

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
Community Champion
Community Champion

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 III
Helper III

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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (4,304)