# Stuck in Testing Mode: n8n + Google Invalid Grant

**URL:** <https://community.n8n.io/t/stuck-in-testing-mode-n8n-google-invalid-grant/193411>\
**Category:** Questions\
**Created:** [September 24, 2025, 9:15am UTC](https://community.n8n.io/t/stuck-in-testing-mode-n8n-google-invalid-grant/193411 "2025-09-24T09:15:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tentordev](https://avatars.discourse-cdn.com/v4/letter/t/76d3ee/32.png) [@Tentordev](https://community.n8n.io/u/Tentordev)\
**Post date:** [September 24, 2025, 9:15am UTC](https://community.n8n.io/t/stuck-in-testing-mode-n8n-google-invalid-grant/193411/1 "2025-09-24T09:15:42Z")

</div>

Has anyone found a reliable fix for the ‘invalid\_grant’ error in n8n’s Google nodes without going live (Production mode)? The refresh token keeps expiring or getting revoked, and it’s driving me crazy! Any creative workarounds or hacks to keep it stable in Testing mode would be super appreciated.

 ![IMG_1962](https://europe1.discourse-cdn.com/n8n/original/3X/c/e/ce5745eef341d89969e096b03b79fb1af2377f9f.jpeg)

---

<div class="post-metadata">

**Author:** ![Tentordev](https://avatars.discourse-cdn.com/v4/letter/t/76d3ee/32.png) [@Tentordev](https://community.n8n.io/u/Tentordev)\
**Post date:** [September 24, 2025, 9:52am UTC](https://community.n8n.io/t/stuck-in-testing-mode-n8n-google-invalid-grant/193411/3 "2025-09-24T09:52:38Z")

</div>

Thanks for the response! I’m weighing my options, would it be more straightforward for a non programmer to push the app to production or switch to using a Google serving account?

Which path would you recommend?

---

<div class="post-metadata">

**Author:** ![krisn0x](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/krisn0x/32/118504_2.png) [@krisn0x](https://community.n8n.io/u/krisn0x)\
**Post date:** [September 24, 2025, 10:00am UTC](https://community.n8n.io/t/stuck-in-testing-mode-n8n-google-invalid-grant/193411/5 "2025-09-24T10:00:19Z")

</div>

Hey, there is no issue in switching your app to Production, it’s the easiest fix and doesn’t require any official verification - just flip a switch. If you still notice your credentials expiring, you might need to generate a new Secret, but that should be all.

Feel free to mark this as Solution if it helps 🙂

---

<div class="post-metadata">

**Author:** ![Tentordev](https://avatars.discourse-cdn.com/v4/letter/t/76d3ee/32.png) [@Tentordev](https://community.n8n.io/u/Tentordev)\
**Post date:** [September 24, 2025, 11:09am UTC](https://community.n8n.io/t/stuck-in-testing-mode-n8n-google-invalid-grant/193411/6 "2025-09-24T11:09:23Z")

</div>

Thanks a lot mate, I really appreciate your help and your time 🌹

---

<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:** [October 1, 2025, 11:09am UTC](https://community.n8n.io/t/stuck-in-testing-mode-n8n-google-invalid-grant/193411/7 "2025-10-01T11:09:46Z")

</div>

Closed on October 1, 2025, 11:09am UTC

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