Neon db enviornment variables not working
shamaeelahmed
FREEOP
3 months ago
I have added the db connection url to the enviornment variables which is used inside of my project via process.env but it doesn't work and throws an error on deployment saying "no connection string was provided"
I have re-checked the names of variables but that's not the issue.
The main issue is probably in the database url connection string not begin loaded from enviornment variables.
The enviornment is also the same as the variable.
2 Replies
Railway
BOT
3 months ago
Hey there! We've found the following might help you get unblocked faster:
If you find the answer from one of these, please let us know by solving the thread!
3 months ago
Hey, please show a screenshot of your variables tab and how you are reading the environment variable via code.