2fast-team / 2fast

Two-Factor Authenticator Supporting TOTP (Windows 10 & Android, iOS, Linux and macOS App)
https://2fast-app.de
GNU General Public License v3.0
393 stars 42 forks source link

Specified cast is not valid error #87

Closed Nancas08 closed 10 months ago

Nancas08 commented 12 months ago

Describe the bug

Specified cast is not valid.

Steps to Reproduce

Steps to reproduce the behavior:

  1. I enter the app
  2. It asked me to turn on the file system and I turned it on
  3. Try to log in back but the app was reset
  4. I try it to recovered by the local path and click submit
  5. See error

Specified cast is not valid.

Expected behavior

Log in on the app and recover the codes

Screenshots

image

Environment

App Version(s):

Windows 10/11 Build Number:

Additional context

jp-weber commented 11 months ago

So you had already set up and used the app before?

Can you back up the data file you created for the app once? After the step you can reinstall the app and load the data file. The authorization for the file system is always required for loading the file, after the authorization has been set the error should no longer occur.