My env variables are undeined in my next app

the env variables that i set in the dashboard are getting undefined in my nextjs app.
In localhost, my app works as expect, but in production the env are not working, NEXT_PUBLIC_GRAPHQL and NEXTAUTH_URL as example, if i try to log the (NEXT_PUBLIC_GRAPHQL) i got undefined. and my app is giving to me an error client_fetch_error, and in documentation says that this error most of cases are nextauth_url error

Hi @ZAPHODh, kindly read the support guide in the link below on how to properly use environment variables on Netlify.