We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7f5d2a commit ee2f240Copy full SHA for ee2f240
packages/core/src/auth/auth2.ts
@@ -568,8 +568,10 @@ export class IamLogin extends BaseLogin {
568
} catch (err: any) {
569
switch (err.data?.awsErrorCode) {
570
case AwsErrorCodes.E_CANCELLED:
571
- case AwsErrorCodes.E_SSO_SESSION_NOT_FOUND:
+ case AwsErrorCodes.E_INVALID_PROFILE:
572
case AwsErrorCodes.E_PROFILE_NOT_FOUND:
573
+ case AwsErrorCodes.E_CANNOT_CREATE_STS_CREDENTIAL:
574
+ case AwsErrorCodes.E_INVALID_STS_CREDENTIAL:
575
this.updateConnectionState('notConnected')
576
break
577
default:
0 commit comments