New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ParamValidationError when using DynamoDB paginator #2300
Comments
@usegev - Thank you for your post. I am able to reproduce the issue. Looking into it. |
@usegev - We have a customization around resources that converts You can use the same format with paginator by using import boto3
res = boto3.resource('dynamodb')
paginator = res.meta.client.get_paginator('query')
page_iterator = paginator.paginate(
TableName=TABLE_NAME,
IndexName=INDEX_NAME,
KeyConditionExpression=Key('X').eq(x) & Key('Y').lte(y)
) Hope it helps and please let me know if you have any questions. |
Thanks @swetashre, works as you described. Will the documentation be updated? Or will the client paginator support it as well? |
We are tracking this issue internally. We are working to document this behavior. |
thanks @swetashre this was making me scratch my head |
I am having the same issue with
using
getting:
|
What is the status on this issue ? |
I'm having this same problem. |
Any updates on this? I'm getting the same issue as @kulbida |
Any update? |
I am having the same issue on October 2021 |
response = client.query( This works for me! |
I create a DynamoDB paginator like this:
When I run it, I receive the following error:
The exact same KeyConditionExpression works when I query the table directly:
BTW: Documentation says that KeyConditionExpression should be a string and not some condition built this way.
The text was updated successfully, but these errors were encountered: