json,google-apps-script,urlfetch,http-response-codes
I only ran into the "Too many requests" error during development when I was testing that same script. I was able to get this function to run hourly no problem, even every 5 minutes. To get this script run as expected on a trigger just switch the getData() to a...
asp.net,google-apps-script,urlfetch
I was finally able to successfully login to the page. The issue seems to be that the urlFetchApp was unable to follow the redirect. I credit this stackoverflow post: how to fetch a wordpress admin page using google apps script This post described the following process that led to my...
google-apps-script,google-spreadsheet-api,urlfetch
In my experience the limit is 10MB. It is definitely larger than 14.1KB, an application I developed (http://www.blinkreports.com) routinely receives responses in excess of 1MB.
login,google-apps-script,basic-authentication,credentials,urlfetch
This question has been answered on another else where. Here is the summary: Bruce Mcpherson basic authentication looks like this... var options = {}; options.headers = {"Authorization": "Basic " + Utilities.base64Encode(username + ":" + password)}; Lenny Cunningham //Added Basic Authorization////////////////////////////////////////////////////////////////////////////////////////// var USERNAME = PropertiesService.getScriptProperties().getProperty('username'); var PASSWORD = PropertiesService.getScriptProperties().getProperty('password'); var...
google-app-engine,cron,urlfetch
Or, one cron job which spawns taskqueued jobs for all the other urls. That can be done in the default module, for free. I would set a countdown parameter, to space them out, to not spawn up too many instances. Simplifies app.yaml as well.
javascript,google-apps-script,google-cloud-storage,urlfetch
Answering Own Question because this is being resolved: So there are two parts that are wrong here. The first is that the last file chunk I was sending last was one byte short. I had been using the byte range that I was sending in the header to also slice...
python,google-app-engine,urllib2,urlfetch
UrlFetch is meant for fetching a finite resource from a URL, and generally doesn't play nice with streams. It's waiting for the request to terminate. I believe that the endpoint doesn't play well with Range requests in general. Look at the headers when my browser hits that stream (great stream...
google-apps-script,urlfetch,stackexchange-api
The problem is related with the Origin header. You cannot remove from the header directly but you can perform the call via a proxy :)...