Password authentication failed for user postgres

Hello Everyone,

I am working on rest api’s by postgresql while loging i am getting error:
password authentication failed for user postgres


I have configured toml file also

PostgreSQL database integration.

  [application_server.integration.postgresql]
  # PostgreSQL dsn (e.g.: postgres://user:password@hostname/database?sslmode=disable).
  dsn="postgres://userNmae:Password123@localhost/chirpstack_as_events?sslmode=disable"

  # This sets the max. number of open connections that are allowed in the
  # PostgreSQL connection pool (0 = unlimited).
  max_open_connections=0

Any suggestion is appreciated.
Thanks