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
- Smartsheet Customer Resources
- 62.9K Get Help
- 378 Global Discussions
- 208 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 289 Events
- 33 Webinars
- 7.3K Forum Archives