Test Connection

SELECT Permission

GRANT create session TO ${UserName};

For the CDB service account, the above permission must be in the following format:

GRANT CREATE SESSION to <C##username> container=CURRENT;