During AWS Builder ID sign in, some users ran in to this error in the browser.
This is due to a stale state in ~/.aws/sso
.
Issue aws-toolkit-vscode#3667
- Rename the current folder:
mv ~/.aws/sso ~/.aws/sso-OLD
- Attempt to sign in again with AWS Builder ID
- If sign is is successful you can remove the old folder:
rm -rf ~/.aws/sso-OLD
- Or revert the change:
mv ~/.aws/sso-OLD ~/.aws/sso
- Or revert the change: