You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dustin-lennon
changed the title
(short issue description)
TypeError: Invalid RFC-7231 date-time value
Jul 20, 2022
dustin-lennon
changed the title
TypeError: Invalid RFC-7231 date-time value
TypeError: Invalid RFC-7231 date-time value when sending DeleteObjectCommand
Jul 20, 2022
dustin-lennon
changed the title
TypeError: Invalid RFC-7231 date-time value when sending DeleteObjectCommand
TypeError: Invalid RFC-7231 date-time value when sending HeadObjectCommand
Jul 20, 2022
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.
Describe the bug
Got error
TypeError: Invalid RFC-7231 date-time value
when sending commandHeadObjectCommand
fromS3Client
.JSON object being sent is
Expected Behavior
Error not thrown and file deleted from S3 bucket
Current Behavior
Error is thrown and file is not deleted from S3 bucket
Reproduction Steps
Possible Solution
In
@aws-sdk/smithy-client/dist-cjs/date-utils.js
change line 41-43 fromto
in order to account for a time being
04:46:49 GMT
or4:46:41 GMT
Additional Information/Context
No response
SDK version used
3.130.0
Environment details (OS name and version, etc.)
node:16 Docker image
The text was updated successfully, but these errors were encountered: