Incorrect CLI message when repo owner is over the plan limit

Issue #15065 open
Ronald Chia
staff created an issue

When a user is trying to push changes to a repository which was granted with direct access and the repo owner is over the plan limit, the Error message doesn't show the correct owner account.

Account username: newtteam
Repository link:
Error message received:

remote: ********************************************************************************
remote: [ALERT] Your push failed because the account 'ronctest' has exceeded its
remote: [ALERT] user limit and this repository is restricted to read-only access.
remote: [ALERT] Contact the account admin to upgrade their plan to restore write access.
remote: [ALERT] For more info:
remote: [ALERT]
remote: ********************************************************************************
fatal: unable to access '': The requested URL returned error: 402