Stupid mistakes .. I was still calling the wise service

On Thu, Apr 30, 2009 at 5:43 PM, m3talsmith <[email protected]> wrote:
> I've been banging my head on this issue for a few hours. I've
> authenticated fine, retrieved my token, and I can use that token to
> grab my spreadsheets, but not my calendars.
>
> I'm using this url to grab all my calendars:
> http://www.google.com/calendar/feeds/default/allcalendars/full
>
> Here's output from my code base as it's running:
>
> --
>
> Grabbing a new authenticated session
> Grabbing new credentials
>
> secure_uri: #<URI::HTTPS:0x29430c0 URL:https://www.google.com/accounts/
> ClientLogin>
> secure_data:
> accountType=HOSTED_OR_GOOGLE&[email protected]&Passwd=...&service=wise
> secure_headers: {"Content-length"=>"86", "Content-Type"=>"application/
> x-www-form-urlencoded"}
>
> Raw https response:
> SID=DQAAAJ0AAAAweD6EJIo76i8d_n6UEPDNLjrPgP3RTMCa-82QTt3K6KUcqx42rL5tIS4nLMhKwE2xmzkSEp8royBqvmFSTAA4oo2ukQui8OUkd5lP1JbMcZlrxP65PI7yd9VYpfsLdpQDcgn4LAAfNYbHrLCajAjQEhchhuctipH-
> HlB6FwADbr1L4hii2CastLDuQ-y-myAh-tc3bVU-cijhSitogQ3P
> LSID=DQAAAKAAAADId4iUAERuVfTBHYpGxhgdIH8o6rHEKEL9npXNKnZB3IuMsEs7Wm74bAzkyja8udcaM-03L9LWL8rGMyMN4zG3-
> bGqcuu1oHlacS59NAnvv_Y_7_JuagLyNsX9TitFHBnIIgfZTMAIFn36hbnPFmNqaLESm23129nVpSQthiGLEtQ7CNKOacyKzHhA_XSoMwJqYFP8_ZzYqLi0bzKoV7VY
> Auth=DQAAAKEAAADId4iUAERuVfTBHYpGxhgdIH8o6rHEKEL9npXNKnZB3IuMsEs7Wm74bAzkyja8udcaM-03L9LWL8rGMyMN4zG3-
> bGqcuu1oHlacS59NAnvvwcLsKe1yZF7zZYc_EhcL9PeHl7_vzSs3seo-
> omauVa8BnaBEPO5Cn8EWFO398pbvKNHQ8lSHZoVscpVeh1x6l1Fuq-
> k56h8eaENUrqT6moIxa8jn_mkwBFo8bfhXjgWmQ
>
> /Auth=(.+)/:
> DQAAAKEAAADId4iUAERuVfTBHYpGxhgdIH8o6rHEKEL9npXNKnZB3IuMsEs7Wm74bAzkyja8udcaM-03L9LWL8rGMyMN4zG3-
> bGqcuu1oHlacS59NAnvvwcLsKe1yZF7zZYc_EhcL9PeHl7_vzSs3seo-
> omauVa8BnaBEPO5Cn8EWFO398pbvKNHQ8lSHZoVscpVeh1x6l1Fuq-
> k56h8eaENUrqT6moIxa8jn_mkwBFo8bfhXjgWmQ
>
> Ends Authorization
>        -------
> authenticated session token:
> DQAAAKEAAADId4iUAERuVfTBHYpGxhgdIH8o6rHEKEL9npXNKnZB3IuMsEs7Wm74bAzkyja8udcaM-03L9LWL8rGMyMN4zG3-
> bGqcuu1oHlacS59NAnvvwcLsKe1yZF7zZYc_EhcL9PeHl7_vzSs3seo-
> omauVa8BnaBEPO5Cn8EWFO398pbvKNHQ8lSHZoVscpVeh1x6l1Fuq-
> k56h8eaENUrqT6moIxa8jn_mkwBFo8bfhXjgWmQ
>
> headers: {"Authorization"=>"GoogleLogin
> auth=DQAAAKEAAADId4iUAERuVfTBHYpGxhgdIH8o6rHEKEL9npXNKnZB3IuMsEs7Wm74bAzkyja8udcaM-03L9LWL8rGMyMN4zG3-
> bGqcuu1oHlacS59NAnvvwcLsKe1yZF7zZYc_EhcL9PeHl7_vzSs3seo-
> omauVa8BnaBEPO5Cn8EWFO398pbvKNHQ8lSHZoVscpVeh1x6l1Fuq-
> k56h8eaENUrqT6moIxa8jn_mkwBFo8bfhXjgWmQ", "Content-Type"=>"application/
> atom+xml"}
>
> response: #<Net::HTTPUnauthorized:0x293f088>
> <HTML>
> <HEAD>
> <TITLE>Token invalid</TITLE>
> </HEAD>
> <BODY BGCOLOR="#FFFFFF" TEXT="#000000">
> <H1>Token invalid</H1>
> <H2>Error 401</H2>
> </BODY>
> </HTML>
>
> --
>
> Any help would be very welcome.



-- 
Michael Christenson II
Freelancer
p. 231.884.3024
w. blog.theurbanrebellion.com
e. [email protected]
e. [email protected]
g. github.com/m3talsmith
b. github.com/m3talsmith/blog

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