System.FormatException: The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters.

While trying to add new Gmail account it endlessly return to reauth. Got this logs from the auth journals (see the topic).
Version of the emClien: 9.2.2307

Hi @akosta66,

Thank you for the report. No log came through in the topic, and please don’t post logs here, as this is a public forum. To find out why the Gmail sign-in keeps coming back, please send us the logs like this:

  1. In eM Client, open Menu > Settings > Advanced > Logging and click Clear Logs.
  2. Under the Global modules, tick Authentication. If the Gmail account is already listed there, also tick IMAP and SMTP under it.
  3. Save and restart eM Client.
  4. Try to add the Gmail account again and note the time when it goes back to the sign-in.
  5. Send the logs with the Send Logs… button in the same Logging section and write the link to this topic in the description.
  6. Afterwards, untick the modules again.

Please also tell us here:

  • your Windows or macOS version,
  • how you add the account: with the automatic Gmail setup (Google sign-in) or manually with IMAP,
  • at which step the error “The input is not a valid Base-64 string” appears, and whether the Google sign-in page itself finishes without an error.

eM Client Team

I’m afraid sending You logs with Authentification as I see there login tokens for my accounts.
Anyway:

  • Windows 1022H2
  • automatic Gmail setup
  • the error “The input is not a valid Base-64 string” appears after he Google sign-in page itself finishes without an error but nothing happens in GUI and still the button Finish (which relaunch the auth process).