# Google Cloud node - Delay First time

**URL:** <https://community.n8n.io/t/google-cloud-node-delay-first-time/40370>\
**Category:** Questions\
**Tags:** credentials, google-cloud-storage\
**Created:** [February 16, 2024, 3:48pm UTC](https://community.n8n.io/t/google-cloud-node-delay-first-time/40370 "2024-02-16T15:48:50Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![romeo\_roy](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/romeo_roy/32/31142_2.png) [@romeo\_roy](https://community.n8n.io/u/romeo_roy)\
**Post date:** [February 16, 2024, 3:48pm UTC](https://community.n8n.io/t/google-cloud-node-delay-first-time/40370/1 "2024-02-16T15:48:50Z")

</div>

## Describe the problem/error/question

Hi all,  
The first time, the workflow calls the node “Google Cloud”, it takes 5 minutes to upload a small image.  
If I renew the operation few seconds later, it takes only 2 secondes.

 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/2/9/29bc484aa9d666464fcea14f9618b80eaedbac1c.png)

If I wait 1 hour, same problem happens again. It seems that the node is sleeping 🙂

Do you have an idea ?

Thank you for your help

- **n8n version:** 1.26.0
- **Database (default: SQLite):** SQLite
- **n8n EXECUTIONS\_PROCESS setting (default: own, main):** own
- **Running n8n via (Docker, npm, n8n cloud, desktop app):** Docker
- **Operating system:**

---

<div class="post-metadata">

**Author:** ![EmeraldHerald](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/emeraldherald/32/35355_2.png) [@EmeraldHerald](https://community.n8n.io/u/EmeraldHerald)\
**Post date:** [February 20, 2024, 2:33pm UTC](https://community.n8n.io/t/google-cloud-node-delay-first-time/40370/2 "2024-02-20T14:33:38Z")

</div>

Hi @romeo_roy 👋 That sounds like the credential is expiring after an hour - this would actually be the default for Google Cloud credentials 😅 Here’s a few ways you can get [around it](https://www.googlecloudcommunity.com/gc/Cloud-Hub/Access-token-expiration-time).

---

<div class="post-metadata">

**Author:** ![romeo\_roy](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/romeo_roy/32/31142_2.png) [@romeo\_roy](https://community.n8n.io/u/romeo_roy)\
**Post date:** [February 20, 2024, 3:00pm UTC](https://community.n8n.io/t/google-cloud-node-delay-first-time/40370/3 "2024-02-20T15:00:05Z")

</div>

> [@EmeraldHerald](#):
>
> Google Cloud credentials

Thank you @EmeraldHerald. I didn’t think about that.

---

<div class="post-metadata">

**Author:** ![romeo\_roy](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/romeo_roy/32/31142_2.png) [@romeo\_roy](https://community.n8n.io/u/romeo_roy)\
**Post date:** [February 20, 2024, 3:53pm UTC](https://community.n8n.io/t/google-cloud-node-delay-first-time/40370/4 "2024-02-20T15:53:55Z")

</div>

@EmeraldHerald, after searching what is the best solution ?  
I creat a new workflow where I try to access to the Google Cloud Storage every hour ?

---

<div class="post-metadata">

**Author:** ![EmeraldHerald](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/emeraldherald/32/35355_2.png) [@EmeraldHerald](https://community.n8n.io/u/EmeraldHerald)\
**Post date:** [February 20, 2024, 3:57pm UTC](https://community.n8n.io/t/google-cloud-node-delay-first-time/40370/5 "2024-02-20T15:57:39Z")

</div>

If you’re still running into this limitation after using OAuth2 where you can also request a refresh token, you might want to consider a Service Account!

---

<div class="post-metadata">

**Author:** ![romeo\_roy](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/romeo_roy/32/31142_2.png) [@romeo\_roy](https://community.n8n.io/u/romeo_roy)\
**Post date:** [February 20, 2024, 4:22pm UTC](https://community.n8n.io/t/google-cloud-node-delay-first-time/40370/6 "2024-02-20T16:22:32Z")

</div>

@EmeraldHerald,  
I created the service Account and I created a new credential Google Service Account Api in N8N.  
The problem is that in the node “Google Cloud Storage”, I can not select my new credential. Only OAuth credentials seem to be allowed.  
Is there a trick ?

Thank you

---

<div class="post-metadata">

**Author:** ![romeo\_roy](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/romeo_roy/32/31142_2.png) [@romeo\_roy](https://community.n8n.io/u/romeo_roy)\
**Post date:** [February 20, 2024, 4:25pm UTC](https://community.n8n.io/t/google-cloud-node-delay-first-time/40370/7 "2024-02-20T16:25:37Z")

</div>

Actually I found in the doc that this node is not compatible with Service Account

---

<div class="post-metadata">

**Author:** ![EmeraldHerald](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/emeraldherald/32/35355_2.png) [@EmeraldHerald](https://community.n8n.io/u/EmeraldHerald)\
**Post date:** [February 20, 2024, 4:34pm UTC](https://community.n8n.io/t/google-cloud-node-delay-first-time/40370/8 "2024-02-20T16:34:39Z")

</div>

Hi @romeo_roy 👋 Ah, I didn’t see that 🙈 My apologies!

Either way that is how long the API is taking to respond, so it’s not directly a node issue 🤔

---

<div class="post-metadata">

**Author:** ![romeo\_roy](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/romeo_roy/32/31142_2.png) [@romeo\_roy](https://community.n8n.io/u/romeo_roy)\
**Post date:** [February 20, 2024, 5:52pm UTC](https://community.n8n.io/t/google-cloud-node-delay-first-time/40370/9 "2024-02-20T17:52:09Z")

</div>

I created a new workflow and every hour, I get the same file in Google Cloud Storage to awake the system. I don’t know if it will resolve my issue.

---

<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:** [May 7, 2024, 5:22am UTC](https://community.n8n.io/t/google-cloud-node-delay-first-time/40370/10 "2024-05-07T05:22:53Z")

</div>

Closed on May 7, 2024, 5:22am UTC

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