I get this error message from Railway.app:
frank6282
PROOP

2 years ago

SECRET_KEY = env("SECRET_KEY")

File "/opt/venv/lib/python3.9/site-packages/environ/environ.py", line 199, in call

return self.get_value(

File "/opt/venv/lib/python3.9/site-packages/environ/environ.py", line 392, in get_value

raise ImproperlyConfigured(error_msg) from exc

django.core.exceptions.ImproperlyConfigured: Set the SECRET_KEY environment variable

I tried submitting the secret key in my .env file with or without quotes but I still get this error. The application works on my home computer.

2 Replies

2 years ago

have you set that service variable?


2 years ago

n/a


Welcome!

Sign in to your Railway account to join the conversation.

Loading...