Home > Blockchain >  Application error on heroku failed to update heroku config
Application error on heroku failed to update heroku config

Time:12-23

I have hosted a django project on heroku and I'm trying to update my environment variables through heroku config but, I wrote the following command

heroku config:set SECRET_KEY="djang...j*yb13jkqu- q l&)#b(g..."

And it shows me the following result

j*yb13jkqu- q l was unexpected at this time.

CodePudding user response:

Try without quotes, just like that:

heroku config:set SECRET_KEY=s3cr3Tk3yj*yb13jkqu- q l&)#b(g

CodePudding user response:

As mentioned in documentation your env variable should not include hyphen characters.

  • Related