We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed851e7 commit 15f9e53Copy full SHA for 15f9e53
2 files changed
.changeset/neat-ravens-clean.md
@@ -0,0 +1,5 @@
1
+---
2
+"@smithy/service-error-classification": patch
3
4
+
5
+retry clock skew errors for freeze/thaw/drift situations
packages/service-error-classification/src/index.ts
@@ -57,6 +57,7 @@ export const isThrottlingError = (error: SdkError) =>
57
export const isTransientError = (error: SdkError, depth = 0): boolean =>
58
isRetryableByTrait(error) ||
59
isClockSkewCorrectedError(error) ||
60
+ (error.name === "InvalidSignatureException" && error.message?.includes("Signature expired")) ||
61
TRANSIENT_ERROR_CODES.includes(error.name) ||
62
NODEJS_TIMEOUT_ERROR_CODES.includes((error as { code?: string })?.code || "") ||
63
NODEJS_NETWORK_ERROR_CODES.includes((error as { code?: string })?.code || "") ||
0 commit comments