don't expect particular error codes for duplicate keys