-
Notifications
You must be signed in to change notification settings - Fork 23
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
The plugin only fetches the first 1000 images #343
Comments
kilburn
added a commit
to kilburn/gatsby-source-s3-image
that referenced
this issue
Aug 21, 2019
AWS API limits list responses to 1000 items. If the bucket is larger, subsequent requests are needed to actually fetch all of the items in the bucket. This commit implements iteration logic to keep fetching while there are more (not-returned-yet) results. Fixes jessestuart#343
kilburn
added a commit
to kilburn/gatsby-source-s3-image
that referenced
this issue
Aug 21, 2019
AWS API limits list responses to 1000 items. If the bucket is larger, subsequent requests are needed to actually fetch all of the items in the bucket. This commit implements iteration logic to keep fetching while there are more (not-returned-yet) results. Fixes jessestuart#343
kilburn
added a commit
to kilburn/gatsby-source-s3-image
that referenced
this issue
Aug 21, 2019
AWS API limits list responses to 1000 items. If the bucket is larger, subsequent requests are needed to actually fetch all of the items in the bucket. This commit implements iteration logic to keep fetching while there are more (not-returned-yet) results. Fixes jessestuart#343
kilburn
added a commit
to kilburn/gatsby-source-s3-image
that referenced
this issue
Aug 21, 2019
AWS API limits list responses to 1000 items. If the bucket is larger, subsequent requests are needed to actually fetch all of the items in the bucket. This commit implements iteration logic to keep fetching while there are more (not-returned-yet) results. Fixes jessestuart#343
I'm running into this issue right now. Thanks for submitting a merge request with the fix for this. Any plans on merging this fix into the plugin? @jessestuart |
I'm only able to fetch about 340 images of my 2000+ images - any updates on timing for this merge? |
Much needed here as well; any news? |
@jessestuart could you merge this please? 😢 |
tomaszgiedziun
pushed a commit
to tomaszgiedziun/gatsby-source-s3-image
that referenced
this issue
Oct 15, 2020
AWS API limits list responses to 1000 items. If the bucket is larger, subsequent requests are needed to actually fetch all of the items in the bucket. This commit implements iteration logic to keep fetching while there are more (not-returned-yet) results. Fixes jessestuart#343
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When an s3 bucket has more than 1000 images, this plugin only fetches the first 1000. This is because the
listObjectsV2
call returns a maximum of 1000 items (and forces the application to fetch the remainder in subsequent requests) as explained in the docs.The text was updated successfully, but these errors were encountered: