Nextcloud failed authentication for user "nextcloud" when installing database

I am installing Nextcloud on my Truenas Scale server and I am receiving an error when I try to install the database. I get the same error for each 3 database types.

The error is the following:

port #### failed: FATAL: password authentication failed for user "nextcloud"

I have been searching and trying to solve the issue but I am unsure of how to go about solving it. I am using Postgres SQL.