Next.js Discord

Discord Forum

Vercel Integration flow

Unanswered
fabroos posted this in #help-forum
Open in Discord
Hi, i am tryng to do an custom vercel integration, and when i come from a the vercel deploy button, i try to get the project by currentProjectId and it returns { error: { code: 'not_found', message: 'Project not found.' }. My objective is to set an environment variable to this project, when i should set?, as i said, when i try to get the project it returns null so i can't set the environment to a null project.
Please, if you could give me a hand i will be very thankful.

1 Reply

bump