Error coming while deploying

raise UndefinedValueError(‘{} not found. Declare it as envvar or define a default value.’.format(option))

Below is the link of the problem posted on Stackoverflow,Please Click on the link

Please Help me.

Hi,

I really want to help you, but, have you read the error? Because, it is Cristal clear.

1 Like

Hey,The query has been resolved.

I uploaded the env in railway environment variables after which it is running properly.

Having same issue and have tried that but didnt work…raise UndefinedValueError('{} not found. Declare it as envvar or define a default value.'.format(option)) decouple.UndefinedValueError: ALLOWED_HOSTS not found. Declare it as envvar or define a default value.