PostgreSQL error "type object got multiple values for keyword argument 'host'"

Any idea why I’m getting this errror?

I’ve followed: Event Brokers

event_broker:
  type: SQL
  host: 127.0.0.1
  port: 5432
  dialect: postgresql
  username: myuser
  password: mypassword
  db: mydatabase

Anyone?

Could you post the entire contents of your endpoints.yml?

That is my entire endpoints.yml.

I’ve tried also with this but same thing occurs:

tracker_store:
  type: SQL
  dialect: "postgresql"
  url: "db"
  port: 5432
  db: postgres
  username: postgres
  password: pw

thanks. What command are you running when you get this error?

Using the key url instead of host worked for me:

event_broker:
  type: SQL
  url: 127.0.0.1
  port: 5432
  dialect: postgresql
  username: myuser
  password: mypassword
  db: mydatabase
3 Likes

Yeah it works with url. :blush:

I got the same error. Changing the key from host to url worked for me. Thank you mloubser