An error occurred (InvalidParameterValueException) when calling the UpdateEventSourceMapping operation

0

Hello, Does anyone know the reason why I got this error when calling the UpdateEventSourceMapping operation? Im using this operation in a function that can disable a kinesis trigger when there's a database issue. In this function, Im using UpdateEventSourceMapping operation in which it will detect which lambda's kinesis trigger need to be disabled.

Here's the full message: [ERROR] InvalidParameterValueException: An error occurred (InvalidParameterValueException) when calling the UpdateEventSourceMapping operation: Received Exception while reading from provided stream.

Tisya
gefragt vor 7 Monaten290 Aufrufe
1 Antwort
1
Akzeptierte Antwort

Hello,

You might receive the below error when you have breached one of the Control Plane API Limits which you can find on this documentation -https://docs.aws.amazon.com/streams/latest/dev/service-sizes-and-limits.html

An error occurred (InvalidParameterValueException) when calling the UpdateEventSourceMapping operation: Received Exception while reading from provided stream. Rate exceeded for 
'''

Note: Your Amazon Kinesis data stream can experience read throttles if the following limits are breached:

  • Each shard can support up to five read transactions per second (or five GetRecords calls/second for each shard).
  • Each shard can support up to a maximum read rate of two MiB/second.
  • GetRecords can retrieve up to ten MiB of data per call from a single shard, and up to 10,000 records per call. If a call to GetRecords returns ten MiB of data, then subsequent calls made within the next five seconds result in an error.

If you are gettingReadProvisionedThroughputExceeded exceptions, refer :https://aws.amazon.com/premiumsupport/knowledge-center/kinesis-readprovisionedthroughputexceeded/

For a deeper analysis into the issue and gain more insights tailored to your Kinesis stream configurations, I request you to please reach out to AWS Premium Support team via a support case.

Hope the above information and documentation helps!

AWS
beantwortet vor 7 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen