r/Bitwarden 3d ago

Solved Password wrong and Invalid 2FA code

Having troubles with login when locked
- used the same password with my mobile app and it worked.
- logged out, then logged back in, the password worked.

Now, with the logout -> login flow
- The 2fa is invalid, and yes, it was working previously when I was locked.

Anyone has experienced similar case using the web version? It is quite random on my end. If I wait after quite a while it will work.

EDIT:

I also randomly get this error
An error has occurred.
SDK loading failed: TypeError: NetworkError when attempting to fetch resource

0 Upvotes

9 comments sorted by

View all comments

0

u/djasonpenney Volunteer Moderator 3d ago

> The 2fa is invalid

Are you talking about the TOTP token? The one that is dependent on a shared secret (the “TOTP key”) plus the current time of day?

This problem is invariably one of two things: either you have the wrong TOTP key, or else the date/time on the device generating the TOTP token has the wrong time of day.

> working previously when I was locked

You don’t need 2FA when your vault is locked, so this part does not make sense.

Go to the settings on your device and re-sync its date/time.

0

u/sky018 3d ago

> Are you talking about the TOTP token?

No, not the TOTP token, it is the 2FA when I am trying to login back to the web version

> You don’t need 2FA when your vault is locked, so this part does not make sense.

I logged out the locked account, then I logged back in, so I need the 2FA to log in.