With a SET statement you tried to activate a role that requires the definition of a password.
Repeat the SQL statement and specify the password.