Loading

Salesforce Error: Invalid or expired verification code when using Multi-Factor Authentication (MFA) in Sales and Service

Дата публикации: Aug 25, 2025
Описание

This article explains how to troubleshoot the Salesforce error message "Error: Invalid or expired verification code. Try again."

Note: 

If the allowed number of verification attempts is exceeded, the following error will occur, and your user account will be temporarily locked, preventing login:

Error: The allowed number of attempts has been exceeded." Please be careful not to exceed the allowed attempts when implementing the resolution steps described in this article.

Решение

If you are using Salesforce Authenticator

If this error occurs even when entering the correct TOTP code for identity verification using a TOTP code from Salesforce Authenticator, a System Administrator must disconnect the Salesforce Authenticator that is currently connected to the user's account.

After disconnection, the user experiencing the error should log into Salesforce and reconnect the Salesforce Authenticator to their account.

If you are using a third-party one-time password (TOTP) authentication application

  1. Verify that you are entering the correct or a valid verification code.

  2. The error can also be displayed if there is a discrepancy in the time settings on the device where the authentication application is installed. Please check the time settings on the device.

Номер статьи базы знаний

000395187

 
Загрузка
Salesforce Help | Article