Hey team, I have my dev environment connected to G...
# ask-questions
b
Hey team, I have my dev environment connected to GrowthBook API, however the prod account is not connected. Confirming the prod environmental variables are set. Any idea on how to resolve the issue?
f
Hi Brodie
that 'no connected' means that we have not detected any attempts to hit that endpoint
b
Thanks for the response @fresh-football-47124 I believe in that case I am having issues with edge config. When I removed the below edge config field, I could successfully connect in prod. When I enabled it, my flags would always resolve to false.
Copy code
export const growthbookAdapter = createGrowthbookAdapter({
  clientKey: process.env.GROWTHBOOK_CLIENT_KEY,


   ...(process.env.NODE_ENV === 'production' &&
     process.env.GROWTHBOOK_EDGE_CONNECTION_STRING && {
       edgeConfig: {
        connectionString: process.env.GROWTHBOOK_EDGE_CONNECTION_STRING,
       },
    }),
I am using Vercel flags: https://docs.growthbook.io/lib/nextjs Confirming that env variables are properly set, and that I setup edge config on vercel's side. Are there other things to setup / any idea how to troubleshoot?