Skip to content
Neon db enviornment variables not working
shamaeelahmed
OP

a year 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.

$10 Bounty

2 Replies

Railway
BOT

a year 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!


a year ago

Hey, please show a screenshot of your variables tab and how you are reading the environment variable via code.


Welcome!

Sign in to your Railway account to join the conversation.

Loading...