We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The documentation specifies a string for the variable "MaxKeys" in list_objects_v2 fuction, but this raises an error as it expects an integer.
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3/client/list_objects.html
I followed the documentation and got en error: Invalid type for parameter MaxKeys, value: 2, type: <class 'str'>, valid types: <class 'int'>
Invalid type for parameter MaxKeys, value: 2, type: <class 'str'>, valid types: <class 'int'>
Raises error despite of documentation guidelines
BUCKET = "example_bucket" PREFIX = "example_prefix" objects_list = s3.list_objects_v2( Bucket=BUCKET, Prefix=PREFIX, MaxKeys=2 )
Change documentation, or change the function.
No response
1.36.3
Ubuntu 24.04.1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
The documentation specifies a string for the variable "MaxKeys" in list_objects_v2 fuction, but this raises an error as it expects an integer.
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3/client/list_objects.html
Regression Issue
Expected Behavior
I followed the documentation and got en error:
Invalid type for parameter MaxKeys, value: 2, type: <class 'str'>, valid types: <class 'int'>
Current Behavior
Raises error despite of documentation guidelines
Reproduction Steps
Possible Solution
Change documentation, or change the function.
Additional Information/Context
No response
SDK version used
1.36.3
Environment details (OS name and version, etc.)
Ubuntu 24.04.1
The text was updated successfully, but these errors were encountered: