I finally solve this problem.. The reason I got this error (Token
invalid - AuthSub token has wrong scope) is:

I ask permission to access
scope=http://www.google.com/calendar/feeds/

however, I use the token to retrieve the list of my calendars via this
URL
https://www.google.com/calendar/feeds/default

The problem is the protocol of these 2 requests are different.
One is 'http' and the other is 'https'.

They should be identical!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Calendar Data API" 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-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to