Hi Johns,
If I am not a calendar user, but I am a gmail user, when I use the
gmail username/password to login the calendar, I can get 403 error,
which is the same as the case when username/password is not correct.
What I want to do is that how can I detect that the user does't open
his calendar

On 12月3日, 下午2时13分, Trevor Johns <[EMAIL PROTECTED]> wrote:
> On Mon, Dec 1, 2008 at 7:37 PM, Tim <[EMAIL PROTECTED]> wrote:
>
> > I account a google gmail user, but i don't open calendar service, when
> > i login with this account by Calendar API, it got a 403 error,  which
> > is the same as login with a wrong user/password. If i want to
> > distinguish the two status, How can i do?
>
> Tim,
> Can you provide more details?
>
> If you provide an invalid username/password, you should get an error
> while obtaining an auth token.
>
> If you're using an account that hasn't signed into Calendar but is
> otherwise valid, you should get an error when you try to use that
> token. For example:
>
>     HTTP/1.1 403 Forbidden
>     Content-Type: text/html; charset=UTF-8
>
>     You must be a calendar user to use private feeds.
>
> --
> Trevor Johns

--~--~---------~--~----~------------~-------~--~----~
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