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

Request with resultPageCount>=100 returns HTTP Status 400 – Bad Request #64

Open
olcham opened this issue Jun 3, 2022 · 3 comments
Open
Assignees
Labels

Comments

@olcham
Copy link

olcham commented Jun 3, 2022

Request with resultPageCount>=100 returns HTTP Status 400 – Bad Request instead list of records. The issue does not depend on whether I am checking on a test or product database.

https://test-directory.peppol.eu/search/1.0/xml?q=test&resultPageIndex=100&resultPageCount=10

@stale
Copy link

stale bot commented Sep 21, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Sep 21, 2022
@phax phax added the pinned label Nov 25, 2022
@phax phax self-assigned this Nov 25, 2022
@stale stale bot removed the wontfix label Nov 25, 2022
@mathiasbaert
Copy link

This issue still exists.

The documentation states:

Note It is not possible to return more than 1000 entries. Combinations of resultPageIndex and resultPageCount that would lead to such a result lead to an HTTP status code 400.

The implementation seems to differ:
Instead of limiting the number of results to max 1000,
The last-result-index is limited to max 1000.

It is not possible to request a result beyond index 1000.
Examples:

@phax
Copy link
Owner

phax commented Nov 18, 2024

Thanks for the example - maybe there is a classic 1-off error built in :-(

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

No branches or pull requests

3 participants