Skip to content
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

API errors after offset 10000... #8

Closed
relarson1 opened this issue Sep 5, 2018 · 3 comments
Closed

API errors after offset 10000... #8

relarson1 opened this issue Sep 5, 2018 · 3 comments
Assignees

Comments

@relarson1
Copy link

When parsing the granules for the CRI we are unable to fully process it through the api, calls like this:

https://api.govinfo.gov/packages/CRI-2015/granules?offset=10000&pageSize=50&api_key=

show this error:
{"message":"Error page size + offset must be less than maxoffset: 10000"}

Is there a workaround to this to allow us to use the api to process the granules of the CRI?

@jonquandt
Copy link
Member

@relarson1 - no current workaround, but we're making an update that should be available in our next release later this month to address this issue. Shouldn't require any changes on the user side to allow for all of the granules to appear.

@jonquandt jonquandt self-assigned this Sep 5, 2018
@jonquandt jonquandt added the Upcoming Items currently under development and will be available in our next release label Sep 10, 2018
@jonquandt jonquandt added this to the September 2018 Release milestone Sep 10, 2018
@jonquandt
Copy link
Member

@relarson1 - testing this in development environments now. Looks promising.

@jonquandt
Copy link
Member

jonquandt commented Sep 26, 2018

@relarson1 - this is fixed - Closing issue,but let me know if you run into any issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants