Sporadic 503 errors when creating calendars

72 views
Skip to first unread message

Isaac Cambron

unread,
Jan 6, 2012, 9:57:17 AM1/6/12
to google-ca...@googlegroups.com
Often, when creating calendars, I get a 503 error:

 {
 "error": {
  "errors": [
   {
    "domain": "global",
    "reason": "backendError",
    "message": "Backend Error"
   }
  ],
  "code": 503,
  "message": "Backend Error"
 }
}

I'm creating the calendars (and then deleting them) as part of a simple system test. I'm doing it via a simple POST to /calendar/v3/calendars with just "summary:test" in the body, along with the appropriate auth headers. Sometimes it works, but often (and today, usually) it fails. 

What could be happening?

Thanks,
Isaac

Alain Vongsouvanh

unread,
Jan 9, 2012, 11:47:35 AM1/9/12
to google-ca...@googlegroups.com
Hello,

Are you using a specific client library? Could you give us the exact body you are sending to the API?

Additionally, if you could try with another test account or/and with the APIs Explorer to try and see if this is client/account specific, that could help us investigate the issue.

Thanks!
Alain

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



--
Alain Vongsouvanh | Developer Programs Engineer

Isaac Cambron

unread,
Jan 17, 2012, 4:51:39 PM1/17/12
to google-ca...@googlegroups.com
Hi Alain,

Sorry, I'd lost track of this. I'm using the OAuth2 Ruby gem to pass do make the request, but I'm constructing my own URLs/bodies outside of that, and parsing the results myself. I've been unable to duplicate the issue through the API Explorer.

I've seen the issue a lot less than when I first posted this (no changes to my code though), and I don't have the exact log available. If I see it a bunch more, I'll tack on the exact request to this thread. In the meantime, just looking at my code:

POST
Authorization: Bearer tokenstuff
summary: "Name of Calendar"

So pretty vanilla.

-Isaac

Isaac Cambron

unread,
Mar 20, 2012, 9:56:31 AM3/20/12
to google-ca...@googlegroups.com
Hi Alain,

Since I'm seeing this again, I did some work to isolate the code and posted it here: https://github.com/icambron/GCal-test. Please take a look.

The one extra complication is that I'm also experiencing this. I'm not sure if it's related or not, but that error sometimes gets in the way of my seeing *this* error.

-Isaac
Reply all
Reply to author
Forward
0 new messages