4 messages in com.googlegroups.google-calendar-help-dataapiRe: "malformed or illegal request" wh...
FromSent OnAttachments
nick...@gmail.com28 Jul 2008 18:08 
nick...@gmail.com29 Jul 2008 15:05 
Ray Baxter29 Jul 2008 15:54 
nick...@gmail.com29 Jul 2008 16:05 
Subject:Re: "malformed or illegal request" when embedding more than 26 Calendars on a page
From:nick...@gmail.com (nick@gmail.com)
Date:07/28/2008 06:08:11 PM
List:com.googlegroups.google-calendar-help-dataapi

That's possible. However, the calendar appears with 26 calendars at 2377 characters.

Is it possible to combine the contents of two iframes, using javascript? I might give this a go...

On Jul 28, 8:53 pm, Ray Baxter <ray.@gmail.com> wrote:

On Jul 28, 2008, at 1:11 PM, coco banderos wrote:

I'm getting this error:

"Your client has issued a malformed or illegal request."

when I embed more than 26 calendars on a web page if the calendars belong to a standard gmail user) or more than 21 calendars on a page if the calendars belong to a google apps user account (from my university).

For each account, the calendars were all created at the same time via the java API.

I'm creating a webapp for my medical school whereby student groups register their calendar urls with my app (I store the calendar ID in a database). Then, the students can view all of the courses and group meetings happening on any given day on a Master calendar (queries all of the calendar IDs from the db and creates the iframe string). There will likely be around 45 to 50 calendars total.

Is there a limit to the number of calendars one can embed into a web page? Is there anyway around this? As mentioned above, I've also tried to create the calendars with a Google Apps username from my university, with the same result.

You are probably hitting a limitations on the length of a url. How long are the urls when you have more than 26 or 21 calendars embedded on a page?

What browser are you using?

"Microsoft Internet Explorer has a maximum uniform resource locator (URL) length of 2,083 characters. Internet Explorer also has a maximum path length of 2,048 characters. "http://support.microsoft.com/kb/q208427/

Web servers have similar limitations.