On insert, duplicate key errors specify which index the duplicate key was found in.
On update, the error does not specify which index the duplicate key was found in.