I use Google URL Shortener API to shorten my URLs:
>
> urlfetch.fetch(url='https://www.googleapis.com/urlshortener/v1/url?key=' +
> GOO_GL_API_KEY, payload='{"longUrl": "%s"}' % url, headers={'Content-Type':
> 'application/json'}, method='POST')
It worked fine a month ago, but now it always fails with this response:
> {
> "error": {
> "errors": [
> {
> "domain": "usageLimits",
> "reason": "rateLimitExceeded",
> "message": "Rate Limit Exceeded"
> }
> ],
> "code": 403,
> "message": "Rate Limit Exceeded"
> }
> }
I've checked my API key by posting via browser directly, it doesn't exceed
the rate limit. So I think the IPs of GAE urlfetch service must be blocked
by URL Shortener API.
Any Googlers can recover it? Thank you.
----------
keakon
My blog(Chinese): www.keakon.net
Blog source code: https://bitbucket.org/keakon/doodle/
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.