5 messages in com.googlegroups.google-calendar-help-dataapiRe: How to debug the 400 error : Inva...
FromSent OnAttachments
Kulvinder Singh21 Feb 2008 01:39 
Frank Mantek21 Feb 2008 02:54 
Kevin Kleinfelter26 Feb 2008 08:31 
Kevin Kleinfelter26 Feb 2008 08:55 
Kulvinder Singh26 Feb 2008 21:29 
Subject:Re: How to debug the 400 error : Invalid parameter: 'safe'.
From:Kulvinder Singh (kulv@yahoo.com)
Date:02/21/2008 01:39:35 AM
List:com.googlegroups.google-calendar-help-dataapi

Hi Frank,

I have used Fiddle to view the data chunk and got the 302 error (Moved
temporarily) and then the 400 error when i tried to fetch the calendars list :

Execution of request failed:
http://www.google.com/calendar/feeds/default/allcalendars/full?gsessionid=id

The data for the 400 error was as seen through the Fiddler :

HTTP/1.1 400 Bad Request Content-Type: text/plain; charset=UTF-8 Date: Wed, 20
Feb 2008 15:12:09 GMT Server: GFE/1.3 Cache-Control: private, proxy-revalidate
Transfer-encoding: chunked Connection: close 1d Invalid query parameters:safe 0

Any ideas now ?

----- Original Message ---- From: Frank Mantek <fman@gmail.com> To: goog@googlegroups.com Sent: Friday, February 8, 2008 8:36:24 PM Subject: Re: How to debug the 400 error : Invalid parameter: 'safe'.

you can. But it could be a local "internet security" filter that you might have
installed on your system, so in that case, you might be able to fix it yourself.

Frank Mantek Google On Feb 8, 2008, at 2:09 PM, Kulvinder Singh wrote:

Since i am just using .NET Calendar API 1.1.3 and it doesnt has that parameter,
can we assume that a proxy in between is sending this parameter ?

----- Original Message ---- From: Frank Mantek <fman@gmail.com> To: goog@googlegroups.com Sent: Friday, February 8, 2008 1:40:57 PM Subject: Re: How to debug the 400 error : Invalid parameter: 'safe'.

All you can do is put a network sniffer (fiddler, your old friend) in between.
See if your client is really NOT sending that parameter.

If someone inbetween is adding parameters, you are out of luck - at least from
your end there is nothing you can influence.

Frank Mantek Google On Feb 8, 2008, at 8:25 AM, Kulvinder Singh wrote:

Hi,

I am using .NET calendar API 1.1.3 and getting the following error when trying
to fetch an authenticated feed of the events :

Execution of request failed: http://www.google.com/calendar/feeds/MyCalendarId/private/full?max-results=2147483647&start-min=2008-02-04T08:00:00Z&start-max=2008-02-11T08:00:00Z&ctz=America/Los_Angeles

The remote server returned an error: (400) Bad Request. Invalid parameter:
&#39;safe&#39;. at Google.GData.Client.Service.Query(Uri queryUri, DateTime ifModifiedSince) at Google.GData.Client.Service.Query(FeedQuery feedQuery, DateTime
ifModifiedSince) at Google.GData.Client.Service.Query(FeedQuery feedQuery) at Google.GData.Calendar.CalendarService.Query(EventQuery feedQuery)

I am not able to figure out how a parameter 'safe' can go in a request when we
are not putting it? Is it due to some proxy which is changing the request being
sent to google ? Is there any way in the API to debug it ?

Any other thoughts ?

Thanks Kulvinder Singh

Looking for last minute shopping deals? Find them fast with Yahoo! Search.

Looking for last minute shopping deals? Find them fast with Yahoo! Search.