Skip to content

Urgent: InvalidIdentityTokenException with AWS SDK in Version 3.503.0 causes immediate failure (govcloud) #5749

@jonathon-mcnabb

Description

@jonathon-mcnabb

Checkboxes for prior research

Describe the bug

Urgent: Services cannot connect to AWS

InvalidIdentityTokenException with AWS SDK in Version 3.503.0

Environment:

AWS SDK Version: 3.503.0
Services we use that are affected: Amazon S3, Amazon DynamoDB (likely affects others)

Description:
After upgrading to @aws-sdk/client-s3 and @aws-sdk/client-dynamodb version 3.503.0, we are encountering an InvalidIdentityTokenException when attempting to access S3 and DynamoDB services. The same issue is not observed in previous versions of the package. No changes were made to the source code other than updating the package version.

Reproduction Steps:

Upgrade @aws-sdk/client-s3 to version 3.503.0.
Upgrade @aws-sdk/client-dynamodb to version 3.503.0.
Attempt to perform standard operations on S3 and DynamoDB.
Observe the InvalidIdentityTokenException.

Expected Behavior:
Operations on S3 and DynamoDB should succeed without identity token issues, as they did in previous versions of the SDK.

Actual Behavior:
Received an error with the following details:

Error Name: InvalidIdentityTokenException
Fault: client
HTTP Status Code: 400
Request ID: [REDACTED]
Error Type: Sender
Error Code: InvalidIdentityToken
Error Message: No OpenIDConnect provider found in your account for [REDACTED URL]

SDK version number

@aws-sdk/package-name@version, ...

Which JavaScript Runtime is this issue in?

Node.js

Details of the browser/Node.js/ReactNative version

v16.20.2

Reproduction Steps

"dependencies": {
"@aws-sdk/client-s3": "^3.501.0",
"@aws-sdk/client-dynamodb": "^3.501.0",
}

Observed Behavior

When connecting to AWS services, the following error is seen.

Received an error with the following details:

Error Name: InvalidIdentityTokenException
Fault: client
HTTP Status Code: 400
Request ID: [REDACTED]
Error Type: Sender
Error Code: InvalidIdentityToken
Error Message: No OpenIDConnect provider found in your account for [REDACTED URL]

Expected Behavior

I expect to be able to utilize AWS SDKs to connect to S3 and DynamoDB.

Possible Solution

No response

Additional Information/Context

No response

Metadata

Metadata

Assignees

Labels

bugThis issue is a bug.p1This is a high priority issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions