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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 Bug: app.nocodb.com API limiting to 100 rows even when limit set higher #7761

Closed
1 task done
geofflambeth opened this issue Feb 29, 2024 · 4 comments
Closed
1 task done

Comments

@geofflambeth
Copy link

Please confirm if bug report does NOT exist already ?

  • I confirm there is no existing issue for this

Steps to reproduce ?

  • authorize to api using access or API token
  • GET request API records endpoint on a table with greater than 100 records
  • check # of records returned or check pageInfo.pageSize in JSON response

Desired Behavior

Should return up to the # of records set in the limit parameter sent with the request. Swagger documentation within the app says: "The limit parameter used for pagination, the response collection size depends on limit value with default value 25 and maximum value 1000, which can be overridden by environment variables DB_QUERY_LIMIT_DEFAULT and DB_QUERY_LIMIT_MAX respectively." Based on this, I would expect to be able to set the limit as high as 1000 as this isn't a self-hosted installation.

Project Details

  • app.nocodb.com production
  • bases/tables built within nocodb, not linked to an external source

Attachments

2024-02-20_nocodb_api-length-bug.mov
@dstala
Copy link
Member

dstala commented Mar 1, 2024

@geofflambeth On cloud, we had reduced the limit to 100. Will this be a blocker requirement for you?

@geofflambeth
Copy link
Author

Good to know, thank you getting back quickly! It will create an issue with many of my current integrations with other tools, but if needed I can work on procuring infrastructure to self host for my organization. I'm currently using the cloud based app due to lack of infrastructure within my department, so it will be a blocker for a while until I can get organizational approval for a VPS.

@o1lab
Copy link
Member

o1lab commented Mar 1, 2024

The max records that can be fetched in cloud will be 100. Will update the docs shortly. We've to unofortunately do this to stop abuse usecases.

@geofflambeth
Copy link
Author

Great to hear! I can share the docs with my leadership and use it as fuel in an attempt to fast-track the approvals for infrastructure we truly need anyway... thanks!

@dstala dstala closed this as completed Mar 5, 2024
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

3 participants