Menu
  • HOME
  • TAGS

UrlFetchApp Google Script - Rate Limit Error to Nest Thermostat - Response Code 429

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...

Why is my urlFetchApp function failing to successfully login

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...

What is Google app script URLFetch service response size limit?

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.

How to use UrlFetchApp with credentials? Google Scripts

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...

How to organize multiple url fetch calls with GAE?

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.

Google Cloud Storage Multipart Upload, with Last Chunk Failing (503)

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...

How to get a response for a streaming url on google app engine (python)

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...

StackExchange API authentication in Google Apps Script

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 :)...