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
asked a year ago461 views
1 Answer
1
Accepted Answer

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
answered a year ago
profile picture
EXPERT
reviewed 3 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions