Thanks Frank. I see that.
But where are you using this new method because the diff. is showing only the 
new addition ? I think it would have been better if you would have removed 
UrlEncodeReserved and used the new one directly. What do you say ? 
Thanks
Kulvinder Singh


----- Original Message ----
From: Frank Mantek <[EMAIL PROTECTED]>
To: Frank Mantek <[EMAIL PROTECTED]>
Cc: [email protected]
Sent: Monday, April 21, 2008 4:46:13 PM
Subject: Re: The remote server returned an error: (400) Bad Request.

I noticed that i don't have a helper method to deal with this. Just added 
UrlEncodeUnsafe to the Utilities class. UrlEncodeReserved would not have fixed 
this, as the # sign is not a reserved char, but seems to be the culprit here.

Frank Mantek
Google

On Apr 21, 2008, at 1:01 PM, Frank Mantek wrote:

How did you construct that URI? I would assume that the [EMAIL PROTECTED] 
should be encoded?

Frank Mantek
Google

On Apr 21, 2008, at 11:41 AM, Kulvinder Singh wrote:

Hi,

I am trying to download the weather calendar data but getting the following 
error :

Execution of request failed: http://www.google.com/calendar/feeds/[EMAIL 
PROTECTED]/private/full?max-results=2147483647&start-min=2005-07-26T18:30:00Z&start-max=2011-01-15T18:30:00Z&ctz=Asia/Calcutta

InnerException : The remote server returned an error: (400) Bad Request.
Invalid UserId p
StackTrace :    at Google.GData.Client.Service.Query(Uri queryUri, DateTime 
ifModifiedSince) 

Please let me know how did the google server figured out the username as "p" 
which is wrong.

Thanks
Kulvinder Singh

________________________________
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.







      
____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
--~--~---------~--~----~------------~-------~--~----~
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