-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vercel Integration Problem: Failed to save #23875
Comments
Update: I've just tried another Vercel & Sentry project, which worked. This issue seems to be specific to one Vercel project. I can't connect this project to any Sentry project |
Update: |
Update:
I had already created an env var in Vercel called NEXT_PUBLIC_SENTRY_DSN after deleting this I no longer get the error and I can set up my project!
I'm not closing this issue because the problem remains: If you already have a Vercel environment variable with the same name as the one Sentry tries to create, you get "Failed to save" |
@jake-nz Thanks for opening this and also for your updates :) We have this on our radar to fix, but for anyone else that may come across this in the meantime:
deleting the We'll comment and close this issue once we deploy the fix. |
@jake-nz this should be fixed but please reopen if it's not! |
@gfpacheco reported that this issue is occurring again: getsentry/sentry-javascript#7843 |
Can confirm that it's still happening. Some detail which took me a minute to find out - it looks as if it will fail mid-way through updating environment variables if any |
@mcavaliere Nice investigative work! Thank you very much! Can't give a timeline yet but we should fix this. What would be the desired behaviour for you? Would it be to override the existing env vars or to only set the ones that do not exist yet? |
@lforst No problem! Ideally behavior would be an option the user could select, override vs merge. If I had to pick, merge is probably safer. But to me the merge/override strategy is less important than:
|
Heard back from folks at Vercel:
These seem to be our options. Might require some changes in the UI. |
I'm seeing this same error, even when there are no existing |
@mcavaliere i had the same issue i had to remove all SENTRY_* env variables from Vercel before integration could succeed and reAdd the environment variables needed afterwards |
Routing to @getsentry/product-owners-settings-integrations for triage ⏲️ |
Same here, despite removing all |
The problem is happening on some of my projects too. Removing Edit: It does work if you also remove |
Important Details
How are you running Sentry?
Saas (sentry.io)
Description
"Failed to save" when connecting Vercel and Sentry projects
Note: I did fill in the dropdowns but they get cleared when the error happens
Console output: Error saving form field
{detail: "Internal Error", errorId: "53fa48b62cdf4533918e2fc262833b3a"}
Possibly relevant: I'm on free, grandfathered Vercel plan
Steps to Reproduce
What you expected to happen
Expected integration to be added
Possible Solution
Sorry, no ideas
The text was updated successfully, but these errors were encountered: