I’m experiencing a bug where environment variables are being saved as empty strings, regardless of the method I use to add them. This affects two projects under my account:
-
miss-ai-assistant-v2 -
miss-ai-assistant
What’s happening:
-
I add an environment variable with a value (e.g.,
ANTHROPIC_API_KEY,GOOGLE_CLIENT_ID,TELEGRAM_BOT_TOKEN) -
The UI/CLI confirms the variable was added successfully
-
When I check the stored value, it’s an empty string
""
Methods I’ve tried (all produce empty values):
-
Adding via the Vercel Dashboard form
-
Adding via CLI with
--valueflag -
Adding via CLI with stdin pipe:
echo "test123" | vercel env add TEST_VAR production --yes
Verification:
vercel env pull .env.test --environment=production
grep TEST_VAR .env.test
# Returns: TEST_VAR=""
Environment:
-
Multiple variables affected across both projects
-
Issue persists across production environment
-
Tried removing and re-adding variables multiple times
This appears to be an account-level issue since it affects both of my projects. Requesting investigation from the Vercel team.