Error Setting Tracker store environment variables

Hi, I am trying to use environments variables in my custom tracker store. It looks like this.

  type: SQL
  dialect: "postgresql"
  port: 5432
  username: ${POSTGRES_USER}
  password: ${POSTGRES_PWD}

When using this I encounter this error:

ValueError: Error when trying to expand the environment variables in '${POSTGRES_NAME}'. Please make sure to also set these environment variables: '['${POSTGRES_NAME}']'

I use Rasa 1.5.3

Is someone knows how can I fix this ? Thanks in advance.

Are you sure the environment variable is set correctly? Do you get the expected value if you execute echo $POSTGRES_NAME on the command line?

@Tanja Thanks for the reply. I tried that before and it worked, but still Rasa does not recognised it. Any clue ? Thanks

Same problem. No activity?

Hi @pi4n0m4n. I haven’t been able to solve that.