awslabs / amazon-kinesis-scaling-utils

The Kinesis Scaling Utility is designed to give you the ability to scale Amazon Kinesis Streams in the same way that you scale EC2 Auto Scaling groups – up or down by a count or as a percentage of the total fleet. You can also simply scale to an exact number of Shards. There is no requirement for you to manage the allocation of the keyspace to Shards when using this API, as it is done automatically.
Apache License 2.0
337 stars 95 forks source link

An error occurred (UnrecognizedClientException) when calling the DescribeDeliveryStream operation: The security token included in the request is invalid. #74

Open sajalsirohi opened 5 years ago

sajalsirohi commented 5 years ago

When I am trying get my application version id by typing the command aws kinesisanalytics describe-application --application-name <application name from above> | grep ApplicationVersionId

This might arise due to wrong security credentials of the access key and secret key, but at the same time I am able to send my data to AWS IoT so I think my aws-configure has the corrwect info but when I open an another terminal in my rpi, this error pops up when I try to get the application version ID.

What am I doing wrong?

vrowleyamz commented 3 years ago

Depending on how you authenticated, you may need to reauthenticate in the new terminal.