Cannot deploy or reconcile my org, getting instant Unauthorized error in the CLI

I am trying to deploy a new stage using version 4.26.1 and I am now getting Unauthorized error. I logged out and logged in successfully but I am still seeing the error.

$ serverless login

✔ Installed Serverless Framework v4.26.1

Serverless ϟ Framework
Welcome to Serverless Framework V.4

✔ Serverless Framework V4 CLI is free for developers and organizations making less than $2 million annually, but requires an account or a license key.

Please login/register or enter your license key: · Login/Register

If your browser does not open automatically, please open this URL: https://app.serverless.com?client=cli&transactionId=DXAgYzd53MTyr53-U4sQD

✔ You have successfully signed in.


✖ Unauthorized

I am currently on the free tier and at 3/2 credits which show 3 instances, 2 of which are stale and inaccurate but it seems I am stuck in a loop where I cannot fix this from the CLI. Can someone shed light on how I can fix this? Note, I am logged into my AWS account. I am pretty sure the issue is with the Dashboard authentication.

I figured it out. Somehow I deleted an access key in my account which I thought was a stale key but turns out it is a key that is auto created by the CLI. I had to log out in the CLI, remove ~/.serverlessrc file and login again. That fixed it.