web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / "PreconditionFailed......
Power Automate
Unanswered

"PreconditionFailed...A record with matching key values already exists. Code: 0x80040237" Flow Approval error

(0) ShareShare
ReportReport
Posted on by 15

I have a SharePoint flow triggered on new item created that uses the 'Start_and_wait_for_an_approval' action. I've recently been getting a "PreconditionFailed...A record with matching key values already exists. Code: 0x80040237" error at the approval step but I have not made any changes to the workflow. I read a blog from August 2019 on the same issue and it was noted as a widespread issue, but was reported as fixed.   

 

Is this a known recurring issue?

 

Thanks,

Mary

Categories:
I have the same question (0)
  • v-alzhan-msft Profile Picture
    on at

    Hi @maryleona05 ,

     

    Does your issue still exists?

    I have made a test on my side and don't have the issue that you mentioned, please have a try again and let me know if your problem still exists.

     

    Best regards,

    Alice       

     

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • maryleona05 Profile Picture
    15 on at

    Now, the workflows do not immediately fail, but they are 'Running'. Some have been running for hours but no email notifications are sent (email notifications are enabled for all of the approvals), and now nothing is showing up in the Approvals page under the Received or Sent tabs, and there is an error displaying for History. When I checked last night, I had at least 10 approval items received, at least 50 in the sent and a long history of items in the History tab. 27 Jan 2020 - Approvals error 1.PNG27 Jan 2020 - Approvals error 2.PNG27 Jan 2020 - Approvals error 3.PNG

  • maryleona05 Profile Picture
    15 on at

    Additionaly several of my flows have failed that I just tested again.

     

    Yesterday I was receiving the "Precondition Failed..." error.

    27 Jan 2020 - Approval Error.PNG

     

    Today I am getting a BadGateway error.

     

    27 Jan 2020 - Approvals Flow error - bad gateway.PNG

  • Verified answer
    maryleona05 Profile Picture
    15 on at

    UPDATE: Issue resolved by recreating the Approvals step in the flows having issues. I followed the advice in a post where a user was having the same issues and the recommeded solution was as follows:

     

    "It seems that this seems to be a temporary error, please try to update the connection of the corresponding action or re-create the connection, and then re-submit the Flow."

  • iivanov1113 Profile Picture
    2 on at

    Mary, good day! 
    Please tell me, did you manage to defeat this problem?) 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard