I'm doing a get request to the following URL (with {id} replaced with the id from the web interface):
https://www.googleapis.com/calendar/v3/calendars/{id}
A few assertions:
The Authorize header is being correctly set with a valid access token (the token works fine for the Analytics API)
I've set the following scope for oauth2, which shows up correctly:
https://www.googleapis.com/auth/calendar
The token doesn't appear to have expired; it works for the Analytics API.
{ "error": { "errors": [ { "domain": "global", "reason": "insufficientPermissions", "message": "Insufficient Permission" } ], "code": 403, "message": "Insufficient Permission" } }
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…