Kinesis PutRecord doesn't return an InternalFailureException #4832
Labels
bug
This issue is a bug.
p3
This is a minor priority issue
service-api
This issue is due to a problem in a service API, not the SDK implementation.
Describe the bug
When Kinesis returns an HTTP 500 (server-side error) on
PutRecord
, it returns something like this-According to the documentation,
InternalFailureException
extendsKinesisException
, so I expect it to be used to handle error codes ofInternalFailure
. These exceptions can be very noisy.Full stack trace-
Expected Behavior
InternalFailureException
extendsKinesisException
, so I expect it to be used to handle error codes ofInternalFailure
.Current Behavior
These HTTP 500s are being returned with
KinesisException
and an error code ofInternalFailure
, with a status code of500
.Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
AWS Java SDK version used
2.21.42
JDK version used
Java17
Operating System and version
Amazon Linux 2
The text was updated successfully, but these errors were encountered: