GMail - Authentication failed, invalid credentials! (Exceptions::UnprocessableEntity)

Infos:

  • Used Zammad version: 3.6.0 (updated today)
  • Used Zammad installation source: Deb10 Package
  • Operating system: Deb10
  • Browser + version: Chrome

Expected behavior:

Inbound emails from Gmail should be fetched and processed.

Actual behavior:

Inbound of emails are no longer been fetched from gmail. It might be related to their outage yesterday. Deleting the account or to re-auth an existing end with this log message
"Authentication failed, invalid credentials! (Exceptions::UnprocessableEntity)

Steps to reproduce the behavior:

Unsure, for us this occurs now on all inboxes hosted with G Suite.

I, [2020-12-15T16:17:16.687140 #622-47078685221240] INFO – : Processing by ChannelsGoogleController#inbound as JSON
I, [2020-12-15T16:17:16.687331 #622-47078685221240] INFO – : Parameters: {“options”=>{“folder”=>"", “keep_on_server”=>false}, “active”=>true, “id”=>“7”}
I, [2020-12-15T16:17:16.709989 #622-47078685221240] INFO – : fetching imap (imap.gmail.com/REDACTEDADDRESS@TLD.com port=993,ssl=true,starttls=false,folder=INBOX,keep_on_server=false,auth_type=XOAUTH2)
E, [2020-12-15T16:17:17.816461 #622-47078685221240] ERROR – : Authentication failed, invalid credentials! (Exceptions::UnprocessableEntity)
/opt/zammad/app/controllers/channels_google_controller.rb:77:in `inbound’