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
Calling PutRecords on a Kinesis client occasionally fails due to AWS API returning <ServiceUnavailableException/> which the gem fails to parse as it attempts to decode the exception as JSON.
@awood45 any update on this? saw an increase of them around 2018-08-06 13:06:48 UTC which triggered a massive exponential backoff in our fluentd instance.
I'm also seeing this now with aws-sdk-core (3.54.2). It looks like when using the OJ gem, OJ returns EncodingError rather than the expected Oj::ParseError on strings like "<ServiceUnavailableException/>". This then bubbles out rather than being rescued and transformed into a ParseError.
Issue description
Parsing exception raised when ServiceUnavailableException returned
Gem versions
Version of Ruby, OS environment
Ruby MRI 2.3.3
Debian Linux
Code snippets / steps to reproduce
Calling PutRecords on a Kinesis client occasionally fails due to AWS API returning
<ServiceUnavailableException/>
which the gem fails to parse as it attempts to decode the exception as JSON.Backtrace:
The text was updated successfully, but these errors were encountered: