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
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
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
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
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
- 495 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives