You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am encountering an issue when deploying an application on Vercel, where the build process fails due to the APP_WEBHOOK_SECRET environment variable apparently not being recognized or found, despite being set.
Here's the error message I receive during deployment:
Error: MISSING APP_WEBHOOK_SECRET!
at 46379 (/vercel/path0/.next/server/app/astria/prompt-webhook/route.js:1:1562)
...
> Build error occurred
Error: Failed to collect page data for /astria/prompt-webhook
...
I have confirmed that the APP_WEBHOOK_SECRET is a randomly generated string (in this case, "yousayitsarandomstring?") as suggested in the documentation/README, and I've made sure to set it correctly in the project settings on Vercel.
Here are the steps I've taken to troubleshoot without success:
Double-checked that the environment variable is set in the Vercel project settings.
Ensured that the variable is being correctly referenced in the code using process.env.APP_WEBHOOK_SECRET.
Attempted to deploy with a simpler value for the environment variable to rule out issues with special characters.
Reviewed the Vercel documentation and existing issues for any similar cases or additional configuration steps I might have missed.
I am wondering if there are any known issues with environment variable recognition during the build phase on Vercel, or if there are additional steps I need to take to ensure the environment variable is correctly passed and recognized by the build environment.
Any guidance or suggestions would be greatly appreciated.
Thank you!
The text was updated successfully, but these errors were encountered:
I'm also having issues with Astria's callbacks, I would suggest double checking astria/train-model/route.ts and make sure that your callback url contains &webhook_secret=${appWebhookSecret}
If the url is correct, the problem likely comes from Astria. Are you using the mock environment for Astria or the production environment ?
Same issue here, tried adding variables in Vercel's Environment variables dashboard, re-run the deployment and it still fails with error: Error: MISSING APP_WEBHOOK_SECRET! at 46379 (/vercel/path0/.next/server/app/astria/prompt-webhook/route.js:1:1562)
Please fix. Thank you.
Hello,
I am encountering an issue when deploying an application on Vercel, where the build process fails due to the
APP_WEBHOOK_SECRET
environment variable apparently not being recognized or found, despite being set.Here's the error message I receive during deployment:
I have confirmed that the
APP_WEBHOOK_SECRET
is a randomly generated string (in this case, "yousayitsarandomstring?") as suggested in the documentation/README, and I've made sure to set it correctly in the project settings on Vercel.Here are the steps I've taken to troubleshoot without success:
process.env.APP_WEBHOOK_SECRET
.I am wondering if there are any known issues with environment variable recognition during the build phase on Vercel, or if there are additional steps I need to take to ensure the environment variable is correctly passed and recognized by the build environment.
Any guidance or suggestions would be greatly appreciated.
Thank you!
The text was updated successfully, but these errors were encountered: