What is the maximum limit of batch size to insert, update, or delete the rows?
Hi,
For https://smartsheet.redoc.ly/tag/rows API for "Add Rows", "Update Rows" and "Delete Rows", how many records can we insert, update and delete per call request?
Is there any limitation in the number of rows or batch size? If so, what's the limit and what kind of error would we receive beyond the limit? I did not manage to find relevant information in the documentation for the same, would really appreciate your help.
Thanks in advance.
Answers
-
Since the row IDs are sent as query parameters rather than in the body of the request, there is an upper bound to the number of rows that can be deleted in a single API call (due to the max URL length limit). I don't have an exact number to provide, but I can tell you that if you batch deletions to be 150 or 100 at a time you should have no problem.
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
Thanks for your response. I understand for "Delete Rows" API, but can you confirm for "Add rows" and "Update rows" API? What could be the upper bound limit for bulk batch size and the possible error it could lead to on exceeding this limit? If it is unknown, please mention the same for clarity.
Thanks.
-
Hi @nishikamanira,
For "Add Rows" and "Update Rows" there's no exact limit on the number of rows that can be added/updated at once as the limit is tied in to sheet complexity (e.g. number of columns, number of formula columns, conditional formatting rules, cell links, etc).
You would encounter a timeout error if the number of rows is too many at one time for that specific sheet. Best practice would be to target batches of 500 rows or less for bulk updates unless the sheet is very complex (which would be better to do fewer rows in one batch).
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
Thank you for the detailed response in suggesting best practices like always. That surely did help, much appreciated.
Have a nice day, thanks.
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives