I recently got this error after customizing the size of a google map to be embedded on a site. If you change the height and width of the map and copy the customized embed code, you might get this Forbidden error. The simple work-around is to copy the default embed code (don’t click “customize and preview the embedded map”), paste it into your HTML as-is, then manually change the width and height attributes of the <iframe>.

7 Comments
spikecohen
—
Thanks! I was banging my head up against a wall trying to figure this out.
Meanwhile, it also appears that it eventually works itself out if you wait long enough. But who has time for whenever that happens?
Escorts
—
I also had the same problem. Cannot believe Google can make things so bad sometimes. They also have a lot of problems with sitemaps where you cannot delete an url as long as it linked somewhere else on the net. Incredible!!!
Richard Hubbard
—
Hmm. I tried that solution and had the following:
In IE7, the maps now loads, but is zoomed in far closer than I had set it.
In Firefox 3, I still get the forbidden message, even after clearing the cache.
I shall search for some alternative map application, I think.
Michael
—
Hi,
I think this is a local issue with FF3. Try running the script from a web server rather than locally. This should hopefully resolve the problem.
Jeff
—
@Michael, the problem was on both a local environment and a public web server. It’s possible that Google has fixed the issue since the blog posting was written, I haven’t bothered to check.
ddd
—
thanks dude. now i have the ‘permission’
TPM
—
I had the same “Forbidden” issue. I simply went go Google Maps and customized a new map and copied the new code. It worked fine after that. I assume Google is doing their own tweaking.