# Adding Gmail account errors on OAuth

**URL:** <https://forum.emclient.com/t/adding-gmail-account-errors-on-oauth/105445>\
**Category:** Uncategorized\
**Created:** [January 6, 2025, 12:59am UTC](https://forum.emclient.com/t/adding-gmail-account-errors-on-oauth/105445 "2025-01-06T00:59:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dave\_A](https://forum.emclient.com/user_avatar/forum.emclient.com/dave_a/32/4048_2.png) [@Dave\_A](https://forum.emclient.com/u/Dave_A)\
**Post date:** [January 6, 2025, 12:59am UTC](https://forum.emclient.com/t/adding-gmail-account-errors-on-oauth/105445/1 "2025-01-06T00:59:21Z")

</div>

I was having trouble with my Gmail calendar not syncing in emClient so after googling, I followed the suggestion of deleting the gmail account and adding it again.  
Deleting was easy, but when I add the google account, after it launches the web browser for OAuth, I select all options, click “Finish”, the browser goes to the default google search window after a few moments, and emClient becomes unresponsive for about a minute then displays a message saying “There was an error obtaining credentials via OAuth”.

 ![image](https://forum.emclient.com/uploads/default/original/2X/d/d69e1cb74cc0211a008907f648024e12d4693bf6.png)

I’ve removed emClient tokens as per the issue here:

> [@Gmail OAuth fails](https://forum.emclient.com/t/gmail-oauth-fails/104434):
>
> Hello, I’m trying to set up my GMail account. But I get the error message that OAuth isn’t working. I have already tried the following: Antivirus deactivated… error remains the same Firewall deactivated… error remains the same Restarted PC… error remains the same Reinstalled eM Client… error remains the same Used another browser (Chrome, Firefox, Edge)… error remains the same The error message appears immediately after I have carrie…

but this didn’t make any difference.

Anyone got any idea on how to fix this as I really need my gmail account back in emClient for it to be useful to me.

The version of emClient is 10.1.4588 (f11e2ab)

Thanks  
Dave

---

<div class="post-metadata">

**Author:** ![Dave\_A](https://forum.emclient.com/user_avatar/forum.emclient.com/dave_a/32/4048_2.png) [@Dave\_A](https://forum.emclient.com/u/Dave_A)\
**Post date:** [January 9, 2025, 10:53pm UTC](https://forum.emclient.com/t/adding-gmail-account-errors-on-oauth/105445/2 "2025-01-09T22:53:57Z")

</div>

I tried adding my gmail account again 4 days later and this time it worked.  
Same version of emClient, so not sure what magic has gone on behind the scenes but this is no longer an issue.
