Replies: 1 comment 6 replies
-
Is the key something like: |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to deploy a Next js app on Vercel that has a google sheets integration. The two environment variables I need in order for it to work are the client_email and the private_key from google. However, after inputting them on the vercel env variables dashboard my api just gives this error

I have tried many different formats for the private key but none remove the error. Some common suggestions I've seen are calling the var with a replace(/\n/g, '\n') at the end, but that doesnt seem to change anything. All of it works on localhost though including the env vars inside a .env.local file getting called by process.env.VAR
Beta Was this translation helpful? Give feedback.
All reactions