Open dev-m-work opened 2 years ago
Same problem here. Also experiencing #32902
Also got a similar problem. I suddenly started to get the following error while deploying which breaks my builds:
error: An organization slug is required (provide with --org)
I verified that the environment variable (SENTRY_ORG
) is there still as well.
This issue has gone three weeks without activity. In another week, I will close it.
But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog
or Status: In Progress
, I will leave it alone ... forever!
"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀
I started to have this today on Vercel. I can't reproduce it locally.
If I redeploy a vercel deployment that previously worked, it does still work. A new one always fails.
I added manually all my env vars to Vercel just in case but no luck
Update. This seems to be failing only on side branches. I just tried pushing into main
and it does work
Update x2 ✅ Solved for me:
The Sentry integration on Vercel writes env variables only to production branches, so I went to edit manually ALL SENTRY ENV VARS on my vercel project settings and toggle ON the "preview" and "development" environment on each one:
@pablopunk this worked for me. Thanks!
Environment
SaaS (https://sentry.io/)
Version
"@sentry/nextjs": "^6.19.1"
Steps to Reproduce
Go to https://sentry.io/settings/m-work/integrations/vercel/126395/
Expected Result
See the configuration panel of the integration
Actual Result
Error page... And the integration with Vercel is broken, it crashed the build on Vercel stating that:
error: API request failed
14:14:53.558 | caused by: sentry reported an error: Authentication credentials were not provided. (http status: 401)
When I go have a look the env vars, the api has been removed...