When cancelled, dynamodb.eu-west-1.amazonaws.com throws an exception instead of returning HTTP code #3355
Labels
bug
This issue is a bug.
dynamodb
needs-reproduction
This issue needs reproduction.
p2
This is a standard priority issue
Describe the bug
dynamodb.eu-west-1.amazonaws.com exits gracefully when for example one tries to update an entity that doesn't exist (it returns 400), however, if the request has been canceled, the server throws TaskCanceledException
Expected Behavior
dynamodb.eu-west-1.amazonaws.com should return some HTTP error code (400, for example) when the request is canceled.
Current Behavior
It throws TaskCanceledException exception
Reproduction Steps
Possible Solution
No response
Additional Information/Context
I have been using AWSSDK.DynamoDBv2 nuget package to call the server. Libraries correctly throw TaskCancelledException when dynamodb request throws that exception, however, I expect the server not to throw that exception. I realize this might not be the place to report this, but I am hoping that if that's indeed a wrong place, someone would point me to the correct one
AWS .NET SDK and/or Package version used
AWSSDK.DynamoDBv2 3.7.301.20
Targeted .NET Platform
.NET 8
Operating System and version
Windows 11
The text was updated successfully, but these errors were encountered: