On Sun, Dec 7, 2008 at 7:52 PM, Tim <[email protected]> wrote:
>
> 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

The location of the error should be different.

If you get the 403 when requesting
https://www.google.com/accounts/ClientLogin, then the credentials are
invalid.

If you get the 403 when trying to access the calendar, then the user
doesn't have a Google Calendar account.

On top of that, you can look at the error message provided in the body.

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