TruncatingBigNumber can not be converted to an String

0

Traceback (most recent call last):
File "PATHTOFILE", line 10, in <module>
shard_it = kinesis.get_shard_iterator("newstream", shard_id, 'AT_TIMESTAMP', timestamp)["ShardIterator"]
File "C:\Python39\lib\site-packages\boto\kinesis\layer1.py", line 425, in get_shard_iterator
return self.make_request(action='GetShardIterator',
File "C:\Python39\lib\site-packages\boto\kinesis\layer1.py", line 877, in make_request
raise exception_class(response.status, response.reason,
boto.exception.JSONResponseError: JSONResponseError: 400 Bad Request
{'__type': 'SerializationException', 'Message': 'class com.amazon.coral.value.json.numbers.TruncatingBigNumber can not be converted to an String'}

I am making a python app that will collect data from kinesis and write it to a file. I want to read data after a certain period of time. so I am using the "AT_TIMESTAMP" in get_shard_iterator() method.
This function will be implemented in lambda.

질문됨 3년 전261회 조회
1개 답변
0

Upgrading to Boto3 solved the issue

답변함 3년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠