Back to Help Center
HelpTroubleshooting

TOTP codes not working

Resolve issues with time-based authentication codes.

TOTP Codes Not Working

If your 6-digit codes aren't being accepted, try these solutions.

Most Common Cause: Time Sync

TOTP codes are time-based. If your phone's clock is off by more than 30 seconds, codes will fail.

Fix time sync:

  1. Open AffirmID
  2. Go to Settings → Time Sync
  3. Tap "Sync Now"
  4. Try the code again

Or set automatic time:

iOS:

  1. Settings → General → Date & Time
  2. Enable "Set Automatically"

Android:

  1. Settings → System → Date & time
  2. Enable "Set time automatically"
  3. Enable "Set time zone automatically"

Code Timing

Codes change every 30 seconds. If a code is about to expire:

  1. Wait for the new code
  2. Enter it immediately
  3. Submit quickly

Wrong Account

Ensure you're using the code for the correct service:

  1. Check the account name in AffirmID
  2. Verify it matches the service you're logging into
  3. Some services have multiple entries (e.g., personal vs work)

Re-Add the Account

If codes consistently fail:

  1. Remove the account from AffirmID
  2. In the service's settings, disable then re-enable 2FA
  3. Scan the new QR code
  4. Verify with the new code

Service-Specific Issues

Some services have known quirks:

Google:

  • Use "Authenticator app" option, not "Google prompts"

Microsoft:

  • Delete old authenticator entries if you've reset before

AWS:

  • Virtual MFA must be deactivated before adding new

Still Not Working?

Check if the service:

  • Has backup codes you can use
  • Supports SMS as a fallback
  • Has support contact for 2FA issues

As a last resort, contact the service's support with proof of identity to reset 2FA.

Was this article helpful?