Deployment Secret Mismatch Warning & OpenAPI Calls Failing in Deployed App

I’m encountering a warning in the Deployment Secrets section that says, “The value of this secret differs from the workspace value,” as shown in the attached screenshot. I’ve verified that the key is identical in both the Secrets section and the OpenAI integration settings.

However, production API calls to OpenAI are not working in my deployed app, and I suspect this mismatch warning might be the reason. I’m not sure how to resolve this or if there’s another location where the “workspace value” might be defined that I need to check.

Any guidance would be much appreciated!

Further investigation revealed that my Replit app was somehow getting the OpenAI API key value from a different Replit App’s Secrets… I had to create a new secret with a different name and reference that to get it to use with the correct API key.

1 Like

It’s saying there’s a difference between dev and prod, the integrations one is also dev that’s why it says it’s the same as dev