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
- 64.1K Get Help
- 414 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 141 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives