Report fetched through API is restricted to 450 rows only
Hello,
Please note that I am using Smartsheet api to fetch a report that has around 500+ rows.
Syntax - https://api.smartsheet.com/2.0/reports/<report id>
This is only fetching 450 rows and I have no idea where the remaining rows went. Based on few posts through Google search, I tried pagination ways like -
#1 https://api.smartsheet.com/2.0/reports/<report id>?pageSize=500&page=1
#2 https://api.smartsheet.com/2.0/reports/<report id>?pageSize=500&page=2
#1 - this still only brings 450 records again
#2 - exact replica of #1
Also tried doing includeAll=true but that also returns 450 records.
Has anyone faced this issue ? Appreciate any guidance.
Thanks.
Answers
-
Really hard to diagnose based on this info. It seems like you have done what I would with the API.
What happens if you get the sheet as a CSV?
// Sample 4: Get sheet as CSV curl https://api.smartsheet.com/2.0/sheets/{sheetId} \ -H "Authorization: Bearer {SMARTSHEET_TOKEN}" \ -H "Accept: text/csv" \ -o output.csv
-
Thanks for your reply. Wondering though if I can get the report as a sheet ? Are you suggesting that I should save the report as a sheet and try it ?
-
Oh sorry, I missed "report" and was thinking about "sheets"
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 437 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 67 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives