Hi Sebastian,
I am wondering how come you are deriving the query URL from the alternative
link? Can you show us what your query URL looks like?
Thanks,
Austin
On Jan 3, 2008 5:41 AM, Sebastian <[EMAIL PROTECTED]> wrote:
>
> Dear All
>
> I am using the python Calendary API (gdata.py-1.0.10) and a new
> problem seems to have manifested itself.
>
> self.feed = self.client.CalendarQuery(query)
> File "/usr/lib/python2.4/site-packages/gdata/calendar/service.py",
> line 116, in CalendarQuery
> result = self.Query(query.ToUri())
> File "/usr/lib/python2.4/site-packages/gdata/calendar/service.py",
> line 112, in Query
> result = self.Get(uri)
> File "/usr/lib/python2.4/site-packages/gdata/service.py", line 522,
> in Get
> raise RequestError, {'status': server_response.status,
> gdata.service.RequestError: {'status': 400, 'body': 'Invalid UserId
> p', 'reason': 'Bad Request'}
>
> At first I belived that my query made from
> gdata.calendar.service.CalendarEventQuery(...) was incorrect (although
> it has been working up until now). I therefore tried to navigate to
> the feeds for the calendar in question manually in my browser using
> the derived username, visibility and projection and it works fine. I
> derive the username, projection and visibility by regex matching the
> calendar's alternate link and using these values to create the query.
>
> My query also has the following attributes set :max_results ,
> start_min and start_max .
>
> Strangely this code was working for about a month and now no longer
> does.
>
> Any help would be much appreciated.
>
> Kind Regards,
> Sebastian
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---