quota issues

347 views
Skip to first unread message

Isaac Cambron

unread,
Mar 11, 2012, 7:44:37 AM3/11/12
to google-ca...@googlegroups.com
I asked for and received a big increase to my request quota. I get sporadic quotaExceeded errors, though. It's not clear to me if the issue is being triggered by a per-user limit or a per-key limit, but neither make sense in context. I'm not close to the daily limit and I'm not making enough requests per-user to hit the per-user limit. In fact, the error seems to have nothing to do with the rate of requests at all; it seems to be most sensitive to creating new calendars, an area I've had issues with in the past too.

I did some work to narrow it down, removing all sorts of calls until I had a really simple scenario, and I can reproduce it really easily with a specific test user. While it's a bit hard for me to extract my code, here's the log:

Sending post to https://www.googleapis.com/calendar/v3/calendars, body: {"summary":"Public Calendar"}
Error: {"errors"=>[{"domain"=>"usageLimits", "reason"=>"quotaExceeded", "message"=>"Quota Exceeded"}], "code"=>403, "message"=>"Quota Exceeded"}, Description: 
Response: {
 "error": {
  "errors": [
   {
    "domain": "usageLimits",
    "reason": "quotaExceeded",
    "message": "Quota Exceeded"
   }
  ],
  "code": 403,
  "message": "Quota Exceeded"
 }
}

That's it, all of the interactions with Google in my little test program. The GET is showing that I can interact withe API in general, and with this user, i.e. I don't have any oauth or quota issues. The GET isn't actually required to reproduce the issue. The POST is just a simple calendar insertion and it breaks. Note that it doesn't *always* fail, so I don't think it's an issue with how I format my requests, or anything like that. Right now, it seems to give me a quota error about 75% of the time. Yikes.

Can anyone shed light on this? Is there some kind of other quota I don't know about? Is there any other info I could provide that would help?

Isaac Cambron

unread,
Mar 20, 2012, 9:57:50 AM3/20/12
to google-ca...@googlegroups.com
I'm able to reproduce this with a little program I wrote and posted here: https://github.com/icambron/GCal-test. I'm also using it to reproduce this issue. Can someone take a look?

Lee Gathercole

unread,
May 25, 2012, 6:07:51 AM5/25/12
to google-ca...@googlegroups.com
I've got exactly the same problem. Did you get anywhere on a solution?

Mauricio Rodríguez Vargas

unread,
May 25, 2012, 8:30:29 PM5/25/12
to google-ca...@googlegroups.com
I have the same issue, erase and create a new data in the google API console.
this regenerate the API key.

this solve the problem form me.

Isaac Cambron

unread,
May 26, 2012, 2:22:30 PM5/26/12
to google-ca...@googlegroups.com
No, I never did figure this out. Still hoping for a response from Google.

--
You received this message because you are subscribed to the Google Groups "Google Calendar API" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-calendar-api/-/5r1F3yzHSVUJ.

To post to this group, send email to google-ca...@googlegroups.com.
To unsubscribe from this group, send email to google-calendar...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-calendar-api?hl=en.

Jonathan King

unread,
Sep 5, 2012, 11:06:12 PM9/5/12
to google-ca...@googlegroups.com, is...@isaaccambron.com
I have a very similar issue, but once I start getting the 403 Quota Exceeded response it is almost 100% consistent. It's not a rate limit problem since I can run my java app and make one calendar and get a 403.

I am way under the 10,000 curtesy limit, but am not sure what the other limits are. Google support indicated that there was a 150/day insert limit for calendars, can anyone verify that? 

-jonathan

Alexey Panteleev

unread,
Nov 27, 2012, 6:11:22 PM11/27/12
to google-ca...@googlegroups.com, is...@isaaccambron.com
Hello Google/API team,

I am running into this issue again today. It's been a while. My API console is showing that everything is normal, way bellow my quotas.

This happens when creating a new calendar. Is there a limit on the number of calendars a user can have?

at com.google.api.client.googleapis.json.GoogleJsonResponseException.from(GoogleJsonResponseException.java:159) ~[google-api-client-1.9.0-beta.jar:1.9.0-beta]

at com.google.api.client.googleapis.json.GoogleJsonResponseException.execute(GoogleJsonResponseException.java:187) ~[google-api-client-1.9.0-beta.jar:1.9.0-beta]

at com.google.api.client.googleapis.services.GoogleClient.executeUnparsed(GoogleClient.java:170) ~[google-api-client-1.9.0-beta.jar:1.9.0-beta]

at com.google.api.client.http.json.JsonHttpRequest.executeUnparsed(JsonHttpRequest.java:163) ~[google-http-client-1.9.0-beta.jar:1.9.0-beta]

at com.google.api.services.calendar.Calendar$Calendars$Insert.execute(Calendar.java:1128) ~[google-api-services-calendar-v3-rev7-1.6.0-beta.jar:na]


Caused by: com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 Forbidden

{

  "code" : 403,

  "errors" : [ {

    "domain" : "usageLimits",

Ashik Uzzaman

unread,
Nov 4, 2015, 4:25:37 PM11/4/15
to Google Calendar API
Got into the same issue.

Is there any insert calendar event quota per day? I read there is 150/day. If that's the case then this is what I have hit into.

Does that mean after 24 hours I will be again able to insert?
Reply all
Reply to author
Forward
0 new messages