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

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
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,301)