-
Notifications
You must be signed in to change notification settings - Fork 646
Closed
Labels
bugThis issue is a bug.This issue is a bug.closing-soonThis issue will automatically close in 4 days unless further comments are made.This issue will automatically close in 4 days unless further comments are made.p2This is a standard priority issueThis is a standard priority issueservice-apiThis issue is due to a problem in a service API, not the SDK implementation.This issue is due to a problem in a service API, not the SDK implementation.
Description
Checkboxes for prior research
- I've gone through Developer Guide and API reference
- I've checked AWS Forums and StackOverflow.
- I've searched for previous similar issues and didn't find any solution.
Describe the bug
We've been observing the same issue mentioned on #4683. (closed for lack of more information).
Regression Issue
- Select this option if this issue appears to be a regression.
SDK version number
@aws-sdk/[email protected] (i.e. > 3.387.0)
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
v20.18.1
Reproduction Steps
(equivalent to the previous issue)
We're using only simple calls to getItem and/or batchGetItem.
Observed Behavior
(also equivalent to the previous issue)
We get one exception every couple days complaining it can't parse <... as JSON
Logging $response per the instructions on the error message:
{
"response": {
"reason": "Service Unavailable",
"headers": {
"date": "Sun, 08 Dec 2024 05:32:56 GMT",
"server": "Server",
"content-length": "98",
"x-amzn-requestid": "xxx",
"connection": "keep-alive",
"x-amz-crc32": "xxx"
},
"body": "<ServiceUnavailableException>\n <Message>Request Expired</Message>\n</ServiceUnavailableException>\n",
"statusCode": 503
}
}Expected Behavior
The call gets retried internally. ($metadata shows that there was only one attempt)
Possible Solution
No response
Additional Information/Context
No response
shooit and matttylr
Metadata
Metadata
Assignees
Labels
bugThis issue is a bug.This issue is a bug.closing-soonThis issue will automatically close in 4 days unless further comments are made.This issue will automatically close in 4 days unless further comments are made.p2This is a standard priority issueThis is a standard priority issueservice-apiThis issue is due to a problem in a service API, not the SDK implementation.This issue is due to a problem in a service API, not the SDK implementation.