Wow quite an empty group... ¿Is there someone?
Hi I was late night hacking and testing google api client for Ruby.
I fell in an error perhaps by missunderstanding.
What I already done- I already created an app in google developer console
- I enabled the calendar api
- I created the Server Key and downloaded the p12.
- I managed to see that calendar metadata using the google api explorer and browser oauth
What I'm triying to do:
I'm triying to get events from a
privately shared calendar where I have read permissions (trough a group)
in a google apps for work account (
the-cocktail.com) in Ruby ona service to service auth
How I'm triying to do itWith this code:
Results colectedWhen I do this y get a 404, something like "that calendar does not exists"
{
"error": {
"errors": [
{
"domain": "global",
"reason": "notFound",
"message": "Not Found"
}
],
"code": 404,
"message": "Not Found"
}
}
But if i change id per 'primary'
I get:
Which seems to be a calendar but it's like the default calendar for the "email issuer" account that appears in the server key "email" field
I couldn't find a way to change that email into mine, so what I'm doing wrong?