Production Deployment Not Loading NEW Environment Variables (Request ID: 240ef5c77e57d120)
Hello Convex Team,
I already exchanged with the AI chatbox, but didn't get anywhere.
I am experiencing a critical issue where my production deployment is not loading any new environment variables set in the dashboard. Existing variables work correctly, but any newly added secrets are
undefined
.
The Anomaly:
* Working Keys: My pre-existing secrets like RESEND_API_KEY
and the JWKS
/JWT_PRIVATE_KEY
auth keys are loading and working perfectly.
* Failing Keys: Any new keys I add, specifically STRIPE_SECRET_KEY
and STRIPE_WEBHOOK_SECRET
, are consistently undefined
inside my Convex actions.
Irrefutable Proof:
To prove this is a platform sync issue, I ran a specific test:
1. I added a new environment variable in the production dashboard named DUMMY_TEST
with a value of 1234
.
2. I triggered a fresh deployment and called an action that logs this variable.
3. The server logs for Request ID 240ef5c77e57d120
confirm the result: [LOG] 'Attempting to read DUMMY_TEST value:' undefined
.
This test proves that my deployment is not receiving any new secrets from the dashboard. Standard redeployments have not fixed this.
My Specific Question:
Could you please investigate Request ID 240ef5c77e57d120
for my deployment? The logs clearly show a failure to load a newly added DUMMY_TEST
variable. Why is my production instance failing to sync with new secrets added to the dashboard, while older secrets continue to work?3 Replies
Thanks for posting in <#1088161997662724167>.
Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets.
- Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.)
- Use search.convex.dev to search Docs, Stack, and Discord all at once.
- Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI.
- Avoid tagging staff unless specifically instructed.
Thank you!
Hello Convex Team ...Just a friendly reminder that this is the community support channel. While the Convex team does help out here when they're able, it's recommended to email Convex support directly regarding issues that you feel may be isolated to your account.
When testing this, are you viewing logs in the dashboard or in your cli?