When using UrlFetchApp.fetch in a loop there are some URLs that take much longer than others and fail.
Any ideas?
There is no good way to do this. We do not have a way to specify a timeout in the UrlFetchApp
HTTP call params - https://developers.google.com/apps-script/reference/url-fetch/url-fetch-app#fetch(String,Object)
You should log an enhancement request in the Issue Tracker with details of your use case - https://code.google.com/p/google-apps-script-issues/issues/list
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With