Search code examples
heroku

Unable to add/update config variables in heroku?


I keep getting an error when I'm trying to add config variables in heroku. This used to work, but now it doesn't work anymore. It just says: "Item could not be updated: Unknown Error. Please contact support." Has anybody else experienced this? I also tried opening the dev console while trying to update the config variables, seems like a bunch of CORS related errors.

Item could not be updated: Unknown Error. Please contact support. CORS errors


Solution

  • I was able to solve this problem using the CLI.

    Here's an example:

    heroku config:set MY_CONFIG_VARIABLE=config_var_value --app appname