Google Maps fails with invalid ‘pb’ parameter.”
-
I got the error “Google Maps Platform rejected your request. Invalid request. Invalid ‘pb’ parameter.” for the link below.
<iframe src=”https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d5636.951833157461!2d-79.64528!3d45.055856!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x0%3A0x1606dbf9d2b1d34f!2sMuskoka%20Lakes%20Farm%20%26%20Winery!5e0!3m2!1sen!2sus!4v1611022061432!5m2!1sen!2sus” width=”600″ height=”450″ frameborder=”0″ style=”border:0;” allowfullscreen=”” aria-hidden=”false” tabindex=”0″></iframe>
It seems to fail due to “&” in the the link: 2sMuskoka%20Lakes%20Farm%20%26%20Winery
If you change %26 to ‘and’ the map is rendered fine.
Please add into your test cases and fix.
The topic ‘Google Maps fails with invalid ‘pb’ parameter.”’ is closed to new replies.