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

Listing datasets allows 0 for page query parameter #593

Closed
anorderh opened this issue Jun 21, 2024 · 1 comment
Closed

Listing datasets allows 0 for page query parameter #593

anorderh opened this issue Jun 21, 2024 · 1 comment
Labels
wontfix This will not be worked on

Comments

@anorderh
Copy link

When making HTTP requests to the following API endpoint

https://www.kaggle.com/api/v1/datasets/list?page=0

I am able to receive valid responses. This seems incorrect when referencing the source code

if int(page) <= 0:
            raise ValueError('Page number must be >= 1')

My testing did not include using the CLI tool, so this may only be a server issue.

@stevemessick stevemessick added the wontfix This will not be worked on label Jun 21, 2024
@stevemessick
Copy link
Contributor

Thanks for the report. Since we do not officially support this functionality, I'm closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants