# Google OAuth credentials stopped working in HTTP node

**URL:** <https://community.n8n.io/t/google-oauth-credentials-stopped-working-in-http-node/4013>\
**Category:** Questions\
**Created:** [27 Enero, 2021 03:48 UTC](https://community.n8n.io/t/google-oauth-credentials-stopped-working-in-http-node/4013 "2021-01-27T03:48:20Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![shrey-42](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/shrey-42/32/3437_2.png) [@shrey-42](https://community.n8n.io/u/shrey-42)\
**Post date:** [27 Enero, 2021 03:48 UTC](https://community.n8n.io/t/google-oauth-credentials-stopped-working-in-http-node/4013/1 "2021-01-27T03:48:21Z")

</div>

Hi.

So, i access google drive resources via Google Drive node as well as via HTTP node (OAuth credentials).

Until a couple of hours (before i upgraded my DO Docker n8n to 0.104.1), everything was working fine.  
But since then, i have been unable to access the Google Drive resources via the HTTP node.  
(Note: i have reverted back to 0.104.0 but the problem still persists)

**Error in HTTP node:**

```auto
Error: No credentials got returned!
    at Object.requestOAuth2 (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/src/NodeExecuteFunctions.js:54:15)
    at Object.requestOAuth2 (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/src/NodeExecuteFunctions.js:422:42)
    at Object.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/HttpRequest.node.js:792:65)
    at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/src/Workflow.js:492:37)
    at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/src/WorkflowExecute.js:395:62
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)

```

I have tried creating new credentials, but that didn’t work.

I rechecked my OAuth credential config in Postman, works there.

Kindly advise regarding this issue and how can i resolve it quickly.  
Thanks.

Update: Also tried it in my local setup, same issue.

---

<div class="post-metadata">

**Author:** ![RicardoE105](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/ricardoe105/32/550_2.png) [@RicardoE105](https://community.n8n.io/u/RicardoE105)\
**Post date:** [27 Enero, 2021 04:30 UTC](https://community.n8n.io/t/google-oauth-credentials-stopped-working-in-http-node/4013/2 "2021-01-27T04:30:48Z")

</div>

Is this the first time you upgrade your instance?

---

<div class="post-metadata">

**Author:** ![shrey-42](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/shrey-42/32/3437_2.png) [@shrey-42](https://community.n8n.io/u/shrey-42)\
**Post date:** [27 Enero, 2021 04:32 UTC](https://community.n8n.io/t/google-oauth-credentials-stopped-working-in-http-node/4013/3 "2021-01-27T04:32:03Z")

</div>

Nope. I upgrade after every release.

---

<div class="post-metadata">

**Author:** ![shrey-42](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/shrey-42/32/3437_2.png) [@shrey-42](https://community.n8n.io/u/shrey-42)\
**Post date:** [27 Enero, 2021 04:54 UTC](https://community.n8n.io/t/google-oauth-credentials-stopped-working-in-http-node/4013/4 "2021-01-27T04:54:37Z")

</div>

@RicardoE105 Any ideas?

---

<div class="post-metadata">

**Author:** ![RicardoE105](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/ricardoe105/32/550_2.png) [@RicardoE105](https://community.n8n.io/u/RicardoE105)\
**Post date:** [27 Enero, 2021 05:12 UTC](https://community.n8n.io/t/google-oauth-credentials-stopped-working-in-http-node/4013/5 "2021-01-27T05:12:52Z")

</div>

Was able to replicate it. Something is off. I know we made a change to support expressions on the credentials, Perhaps that is causing the issue. Gonna talk to my coworkers and will go back to you.

---

<div class="post-metadata">

**Author:** ![shrey-42](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/shrey-42/32/3437_2.png) [@shrey-42](https://community.n8n.io/u/shrey-42)\
**Post date:** [27 Enero, 2021 05:14 UTC](https://community.n8n.io/t/google-oauth-credentials-stopped-working-in-http-node/4013/6 "2021-01-27T05:14:21Z")

</div>

@RicardoE105 Thanks, hopeful for an early solution.  
A couple of important workflows have become dysfunctional in the meanwhile 🙁

---

<div class="post-metadata">

**Author:** ![shrey-42](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/shrey-42/32/3437_2.png) [@shrey-42](https://community.n8n.io/u/shrey-42)\
**Post date:** [27 Enero, 2021 05:31 UTC](https://community.n8n.io/t/google-oauth-credentials-stopped-working-in-http-node/4013/8 "2021-01-27T05:31:31Z")

</div>

Update: This issue is also occurring with Google Drive nodes, in some cases.

Error:

```auto
    at Object.requestOAuth2 (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/src/NodeExecuteFunctions.js:54:15)
    at Object.requestOAuth2 (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/src/NodeExecuteFunctions.js:422:42)
    at Object.googleApiRequest (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Google/Drive/GenericFunctions.js:33:53)
    at Object.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Google/Drive/GoogleDrive.node.js:1721:80)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/src/WorkflowExecute.js:395:47

```

---

<div class="post-metadata">

**Author:** ![jan](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jan/32/9_2.png) [@jan](https://community.n8n.io/u/jan)\
**Post date:** [27 Enero, 2021 08:29 UTC](https://community.n8n.io/t/google-oauth-credentials-stopped-working-in-http-node/4013/9 "2021-01-27T08:29:53Z")

</div>

@shrey-42 I am very sorry for that issue! I found the bug and released n8n@0.104.2 which fixes it. Please check if now all the issues you had are gone.

---

<div class="post-metadata">

**Author:** ![shrey-42](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/shrey-42/32/3437_2.png) [@shrey-42](https://community.n8n.io/u/shrey-42)\
**Post date:** [27 Enero, 2021 08:41 UTC](https://community.n8n.io/t/google-oauth-credentials-stopped-working-in-http-node/4013/10 "2021-01-27T08:41:38Z")

</div>

@jan  
Thanks for the solution.  
I can confirm that the issue seems to be resolved now.

---

<div class="post-metadata">

**Author:** ![jan](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jan/32/9_2.png) [@jan](https://community.n8n.io/u/jan)\
**Post date:** [27 Enero, 2021 08:56 UTC](https://community.n8n.io/t/google-oauth-credentials-stopped-working-in-http-node/4013/11 "2021-01-27T08:56:22Z")

</div>

Very glad to hear. Have fun!
