uvicron app - doesn't read environment variables
koombal
OP
2 years ago
Hi,
I have a fastapi application over uvicorn who reads data from environment.
I defined the keys (i read them through env) the app requires under VARIABLES but the app keeps crashing in deployment as it cannot read the keys defined under VARIABLES.Any idea how to resolve?
Error from log:
Did not find together_api_key, please add an environment variable TOGETHER_API_KEY which contains it, or pass together_api_key as a named parameter. (type=value_error)
4 Replies
koombal
OP
2 years ago
see attached
Status changed to Solved Railway • over 2 years ago
koombal
OP
2 years ago
That worked, much appreciated