Google OAuth 2.0 - Problem creating credential

Describe the problem/error/question

I am trying to set up a Google Firebase Cloud Firestore account, i have sat up a client in Google cloud and have the client ID and the client secret.
The key is longer than the permitted length in n8n.
I have noticed that it seem google have updated the platform, the n8n docs differs from the Google cloud platform now.

What is the error message (if any)?

Problem creating credential

String must contain at most 32 character(s)

1 Like

We noticed this as well, GCP has updated their UI I believe too.

I did not notice the string length issue tho.

Could you confirm you are on the latest n8n or cloud?

It would be a weird temp solution, but if this length check is done via the browser, I could potentially provide a workaround tomorrow.

What credential value are you inputting that is longer than 32 characters?

i’m hitting the same issue.

@Make what key value is this being input into for the connection?

I have the same problem. For now it accepts 32 characters in type field, and secret has 35. Altering table gave no effect (probably some validation in code also).

I experience the same issue. Is there any workaround or solution in plan?

Dang. That’s good to know. Okay I wasn’t able to find a bug report on the n8n github, but one might need to be created.

Do you create it or should I?

You can try.

Created: Google Firebase Firestore/Realtime Database credentials 32 chars limit · Issue #13948 · n8n-io/n8n · GitHub

1 Like

I ran into the same thing. I found an entry indicating this was a problem back in 2021 as well. There was a suggested workaround then, don’t know if that’ll do you any good (it’s beyond me):

1 Like