Optimistic concurrency failure, object has been modified
hello, when I try to update a user I get Optimistic concurrency failure, object has been modified , how I can fix it and what is the reason of it
7 Replies
show the exact error message
Optimistic concurrency failure, object has been modified
show console output
Maybe you can find something here on what can fix or help. Maybe you already saw this.
https://stackoverflow.com/questions/52553964/how-to-deal-with-concurrency-failure-on-identityuser-update
Stack Overflow
How to deal with concurrency failure on IdentityUser update?
I have a method to update user claims within our app.
I am logged as an admin user who can edit other users.
I am trying to remove existing claims of one user and assign new ones.
When removing ...
the problem I didn`t actually get the user by FindByIdAsync or something else