13 messages in com.googlegroups.google-calendar-help-dataapiRe: The remote server returned an err...
FromSent OnAttachments
Kulvinder Singh21 Apr 2008 02:40 
Frank Mantek21 Apr 2008 04:01 
Frank Mantek21 Apr 2008 04:15 
Kulvinder Singh21 Apr 2008 04:22 
Kulvinder Singh21 Apr 2008 05:24 
Kulvinder Singh21 Apr 2008 05:47 
Frank Mantek21 Apr 2008 06:28 
Kulvinder Singh21 Apr 2008 06:46 
Kulvinder Singh21 Apr 2008 09:42 
Frank Mantek21 Apr 2008 09:51 
Frank Mantek21 Apr 2008 10:17 
Kulvinder Singh21 Apr 2008 10:17 
Kulvinder Singh21 Apr 2008 10:29 
Subject:Re: The remote server returned an error: (400) Bad Request.
From:Frank Mantek (fman@gmail.com)
Date:04/21/2008 06:28:58 AM
List:com.googlegroups.google-calendar-help-dataapi

How are you creating that url? is this constructed using a Query object, like:

FeedQuery q = new FeedQuery("urlpassedin");

?

if so, then i can not easily do this without a lot of helper code to parse the string passed into. I could create helpers, like in the newer services, where you give me the username, and i construct the URL out of it. this is why i added the helper for UrlEncodeUnsafe.

So what method did you use to construct the query?

Hi Frank,

I am completely relying on the API. I think API should encode the URL on its own rather than Client. What do you say ?

----- Original Message ---- From: Frank Mantek <fman@gmail.com> To: goog@googlegroups.com Sent: Monday, April 21, 2008 4:31:45 PM Subject: Re: The remote server returned an error: (400) Bad Request.

How did you construct that URI? I would assume that the
p#weat@group.v.calendar.google.com 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/p#weather @group.v.calendar.google.com/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.