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
demandé il y a 7 mois290 vues
1 réponse
1
Réponse acceptée

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
répondu il y a 7 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions