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
Super User
Super User

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (1,502)