cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
smgilpin
New Member

Send or update operation could not be performed when flow attempts to flag email.

We intermittently receive the following error when a flow attempts to flag an email after it arrives.  Re-running the flow works, but I would like to resolve the issue, rather than just re-running the flow each time it happens.  Does anyone know what causes this?  I have searched, but not found that answer.

 

The send or update operation could not be performed because the change key passed in the request does not match the current change key for the item.

 

The only thing the flow does is trigger when an email arrives to specific recipients and flag the email.  There are no variables, formulas, etc.

 

2 REPLIES 2
manuelstgomes
Super User II
Super User II

Hi @smgilpin 

 

It's a super strange issue, indeed.

 

I know these are "let's try to see if it works," but resetting/deleting the connections and adding them again. Sometimes connections get screwed up and strange errors like these occur.

 

Another issue can be the frequency of the emails. If two emails arrive too close, the API will trigger this issue. It may happen in busy email boxes. I would recommend adding a small delay so that it give time for everything to get correctly saved.

 

Here are 2 cases that I found that are not directly related to Power Automate, but the error is the same:

https://answers.microsoft.com/en-us/msoffice/forum/msoffice_outlook-mso_mac/error-19761-when-sending...

 

https://stackoverflow.com/questions/47526141/412-precondition-failed-when-add-attachments-at-same-ti...

 

The solution is always to add a small 100 milisecond delay.

 

Can you please try and let me know if it works?

 

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

I added a delay of 5 seconds (minimum allowed) just before the step that is supposed to flag the email.  The flow still fails the same way occasionally.

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,544)