I am sorry to chime in with Google Drive being problematic.
Reading up on
I have problem in docker running on synology (2.0.6.101_canary_2022-03-13)
I also tested from my windows pure installation (2.0.6.3_beta_2021-06-17) from a totally different network - same error.
I tried to create oath token directly from Duplicati OAuth Handler
I tried to go first https://duplicati-oauth-handler.appspot.com/ and then Google Drive (limited) login
All give me new tokens, but same error message as the stacktrace above from @Sutnyul
Exact error message:
Failed to authorize using the OAuth service: Server error. If the problem persists, try generating a new authid token from: Duplicati OAuth Handler
Exact error message after regenerating and clicking the Test connection button:
Failed to connect: Failed to authorize using the OAuth service: Server error. If the problem persists, try generating a new authid token from: Duplicati OAuth Handler