Not all rows are fetching from my Python Script!

Shashikiran
edited 12/09/19 in API & Developers

I have written a script to fetch all data from a Smartsheet. i am using Smartsheet's get_sheet('sheet_id') method to fetch my Smartsheet, which has 500 rows but i am only getting exactly 300 row objects, after 300 row objects an error like this being thrown "Too large to show contents. Max items to show 300".

But the total_row_count in the Smartsheet result object is showing correctly, 

code,

sheet_id = ' #my Smartsheet id here'

smart_sheet_token = smartsheet.Smartsheet(' #my access_token here')

smart_sheet = smart_sheet_token.Sheets.get_sheet(sheet_id)   

#here getting my Smartsheet, only 300 rows out of 500 are returned

Can anyone help?

Comments