Oracle Solution for Error ora-01955

Solution for Oracle Error ORA-01955

ORA-01955: DEFAULT ROLE 'string' not granted to user

What triggered the Error:

The user being altered does not have the specified role granted directly to the user. Note, sub-roles cannot be used in the default role clause.

What should we do to fix it:

Grant the role to the user.