# Google Credentials stop working after a while even in production

**URL:** <https://community.n8n.io/t/google-credentials-stop-working-after-a-while-even-in-production/98886>\
**Category:** Questions\
**Tags:** credentials, google\
**Created:** [9 أبريل 2025، 7:46ص UTC](https://community.n8n.io/t/google-credentials-stop-working-after-a-while-even-in-production/98886 "2025-04-09T07:46:22Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leonard\_Choo](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/leonard_choo/32/71737_2.png) [@Leonard\_Choo](https://community.n8n.io/u/Leonard_Choo)\
**Post date:** [9 أبريل 2025، 7:46ص UTC](https://community.n8n.io/t/google-credentials-stop-working-after-a-while-even-in-production/98886/1 "2025-04-09T07:46:22Z")

</div>

I’ve seen multiple posts on Google Credentials stop working after a while.  
Mostly, the issue is when the Google client is in the “testing” mode.

Therefore, I put mine to “Production” mode and it seemed like the issue was solved… until yesterday when it stopped working again.

**What could be the issue here and how can I solve it?**

(I shared the concern [here as well](http://community.n8n.io/t/google-cloud-service-credentials-error/74252), but decided to post new topic to bring attention)

 ![CleanShot 2025-04-09 at 16.45.34@2x](https://europe1.discourse-cdn.com/n8n/original/3X/9/b/9b09acb2933fc3aa2d0aaaae8f6c9577a824e6c1.png)

 ![CleanShot 2025-04-09 at 16.28.50@2x](https://europe1.discourse-cdn.com/n8n/original/3X/4/2/42baa2033abf9b7a6c941eab931003cbcc2f674e.png)

## What is the error message (if any)?

 ![CleanShot 2025-04-09 at 16.37.55@2x](https://europe1.discourse-cdn.com/n8n/original/3X/c/0/c012d8049b8881f8aa4d960a0ed0997bf1b5380b.png)

## Share the output returned by the last node

```auto
{
  "errorMessage": "The provided authorization grant (e.g., authorization code, resource owner credentials) or refresh token is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client.",
  "errorDetails": {},
  "n8nDetails": {
    "time": "4/9/2025, 4:24:19 PM",
    "n8nVersion": "1.84.1 (Self Hosted)",
    "binaryDataMode": "default",
    "cause": {
      "message": "The provided authorization grant (e.g., authorization code, resource owner credentials) or refresh token is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client.",
      "timestamp": 1744183459566,
      "name": "NodeApiError",
      "context": {},
      "cause": {
        "body": {
          "error": "invalid_grant",
          "error_description": "Token has been expired or revoked."
        },
        "code": "EAUTH"
      }
    }
  }
}

```

## Information on your n8n setup

- **n8n version:** 1.84.1 (Self Hosted)
- **Running n8n via (Docker, npm, n8n cloud, desktop app):** Self hosted on Digital Ocean

---

<div class="post-metadata">

**Author:** ![solomon](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/solomon/32/43567_2.png) [@solomon](https://community.n8n.io/u/solomon)\
**Post date:** [9 أبريل 2025، 12:57م UTC](https://community.n8n.io/t/google-credentials-stop-working-after-a-while-even-in-production/98886/2 "2025-04-09T12:57:43Z")

</div>

After changing it to production mode, you might have to renew the token one last time. Then it shouldn’t expire anymore.

---

<div class="post-metadata">

**Author:** ![Leonard\_Choo](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/leonard_choo/32/71737_2.png) [@Leonard\_Choo](https://community.n8n.io/u/Leonard_Choo)\
**Post date:** [11 أبريل 2025، 9:19ص UTC](https://community.n8n.io/t/google-credentials-stop-working-after-a-while-even-in-production/98886/3 "2025-04-11T09:19:38Z")

</div>

Okay let me give this a try and follow up in a week! Thanks!

---

<div class="post-metadata">

**Author:** ![solomon](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/solomon/32/43567_2.png) [@solomon](https://community.n8n.io/u/solomon)\
**Post date:** [11 أبريل 2025، 2:46م UTC](https://community.n8n.io/t/google-credentials-stop-working-after-a-while-even-in-production/98886/4 "2025-04-11T14:46:25Z")

</div>

Awesome. You can bookmark this topic or some reply here to remind you in a certain date. Hope it works this time 👊

---

<div class="post-metadata">

**Author:** ![Bruce\_Levick](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/bruce_levick/32/59739_2.png) [@Bruce\_Levick](https://community.n8n.io/u/Bruce_Levick)\
**Post date:** [9 مايو 2025، 2:40ص UTC](https://community.n8n.io/t/google-credentials-stop-working-after-a-while-even-in-production/98886/5 "2025-05-09T02:40:45Z")

</div>

Hi,  
Did this solve the issue? I am also looking to fix the issue with Google credentials failing every few days.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [7 أغسطس 2025، 2:41ص UTC](https://community.n8n.io/t/google-credentials-stop-working-after-a-while-even-in-production/98886/6 "2025-08-07T02:41:08Z")

</div>

تم إغلاقه في في 7 أغسطس 2025، 2:41ص UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
