API Response time
How long should we wait for a response from the API.
When we update a row, it takes 10 to 15 seconds. But sometime we never get a response even after 10 minutes. I would like to set a maximum time and then retry the row update.
Best Answer
-
Hi @donlambert
You should be receiving a timeout from your code after 120 seconds if it doesn't complete the action. I would suggest that 5 minutes would be a good number of minutes to wait before retrying the update, however the lack of response could indicate that your sheet is too complex. You may want to try simplifying the sheet (see: Issue: Smartsheet Is Slow to Load or Save).
It also could depend on whether you are using an SDK or making HTTP calls directly. For instance, the C# SDK can take longer to deserialize the results of certain API calls, so you may be waiting on the SDK rather than the API itself. 5 minutes should still be enough with an SDK (depending on the complexity of your sheet and quantity of rows being updated), but if you want to add extra room then 10 minutes would be more than enough time to wait.
If you're still having issues with certain requests, you may want to reach out to Smartsheet Support with a screen capture of the request you're making and the sheet URL.
Cheers,
Genevieve
Join us at Smartsheet ENGAGE 2024 🎉
October 8 - 10, Seattle, WA | Register now
Answers
-
Hi @donlambert
You should be receiving a timeout from your code after 120 seconds if it doesn't complete the action. I would suggest that 5 minutes would be a good number of minutes to wait before retrying the update, however the lack of response could indicate that your sheet is too complex. You may want to try simplifying the sheet (see: Issue: Smartsheet Is Slow to Load or Save).
It also could depend on whether you are using an SDK or making HTTP calls directly. For instance, the C# SDK can take longer to deserialize the results of certain API calls, so you may be waiting on the SDK rather than the API itself. 5 minutes should still be enough with an SDK (depending on the complexity of your sheet and quantity of rows being updated), but if you want to add extra room then 10 minutes would be more than enough time to wait.
If you're still having issues with certain requests, you may want to reach out to Smartsheet Support with a screen capture of the request you're making and the sheet URL.
Cheers,
Genevieve
Join us at Smartsheet ENGAGE 2024 🎉
October 8 - 10, Seattle, WA | Register now
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.9K Get Help
- 379 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 302 Events
- 33 Webinars
- 7.3K Forum Archives