{"id":11643,"date":"2018-10-10T12:51:20","date_gmt":"2018-10-10T10:51:20","guid":{"rendered":"http:\/\/blog.belvg.com\/?p=11643"},"modified":"2025-07-01T09:25:19","modified_gmt":"2025-07-01T07:25:19","slug":"how-to-fix-google-maps-api-error-missingkeymaperror-in-prestashop","status":"publish","type":"post","link":"https:\/\/belvg.com\/blog\/how-to-fix-google-maps-api-error-missingkeymaperror-in-prestashop.html","title":{"rendered":"Google Maps API error MissingKeyMapError in PrestaShop"},"content":{"rendered":"\n<p>In case you are using Google Maps API on a localhost or your domain was not active prior to June 22nd, 2016, you&rsquo;ll need to use the API Key for sending requests. Otherwise, you&rsquo;ll get a gray error message instead of the map rendering. To fix this problem, please see the <a href=\"https:\/\/developers.google.com\/maps\/documentation\/javascript\/get-api-key\" target=\"_blank\" rel=\"noopener\">documentation<\/a> to get a Google Maps Api key and add it to your application.<\/p>\n<p><!--more--> <img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter wp-image-11644 size-full\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2016\/09\/How-to-fix-Google-Maps.png\" alt='How to fix Google Maps API error \"MissingKeyMapError\" in Prestashop' width=\"630\" height=\"210\" title=\"Google Maps API error MissingKeyMapError in PrestaShop\"><\/p>\n<p>Things happen and you&nbsp;can face&nbsp;the &ldquo;MissingKeyMapError&rdquo; error, instead of a Google Maps render block. You also can see the following Google maps API warning messages in the debug console: SensorNotRequired and NoApiKeys.<br>\n<img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter wp-image-11648 size-belvg-post-content\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2016\/09\/How-to-fix-Google-Maps11-850x41.png\" alt='How to fix Google Maps API error \"MissingKeyMapError\" in Prestashop' width=\"850\" height=\"41\" title=\"Google Maps API error MissingKeyMapError in PrestaShop\"><\/p>\n<p>Then you should take care of conforming to new requirements for Google Maps use.<\/p>\n<p>If you have any troubles with getting a key, then you can take a look at the detailed instruction.<\/p>\n<p>At the same time, we will show, what you should do, to make Google Maps work with PrestaShop correctly. Here is the list of files that should be updated.<\/p>\n<div class=\"module_in_content_container\"><a href=\"https:\/\/belvg.com\/prestashop-support\" class=\"link_to_module\" target=\"_blank\" rel=\"noopener\"><\/a><div class=\"module_content\"><img src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/support_prestashop.png\" width=\"100\" height=\"100\" alt=\"support_prestashop\" class=\"module_image\" title=\"Google Maps API error MissingKeyMapError in PrestaShop\"><div class=\"module_content_part\"><h3 class=\"title\">PrestaShop Support &amp; Maintenance<\/h3><p class=\"module_content_text\">Take your online store to the next level with BelVG PrestaShop Support &amp; Maintenance<\/p><a href=\"https:\/\/belvg.com\/prestashop-support\" class=\"link_2_to_module\" target=\"_blank\" style=\"display:inline-block\" rel=\"noopener\"><span class=\"read-more\">Visit the page<\/span><\/a><\/div><\/div><\/div>\n<p>Following to the Google requirements, your queries should look like:<\/p>\n<pre class=\"lang:php decode:true \">&lt;script src=\"\/\/maps.googleapis.com\/maps\/api\/js?v=3.exp&amp;sensor=false&amp;key=YOUR_API_KEY\" async=\"\" defer=\"defer\" type=\"text\/javascript\"&gt;&lt;\/script&gt;<\/pre>\n<p>Please note, that we are adding the <em>&amp;key=<strong>YOUR_API_KEY<\/strong><\/em> string. Eventually, we have to make the following corrections:<\/p>\n<p><em><strong>controllers\/admin\/AdminOrdersController.php<\/strong><\/em><br>\noriginal:<\/p>\n<pre class=\"lang:php decode:true \">$this-&gt;addJS('https:\/\/maps.googleapis.com\/maps\/api\/js?v=3.exp&amp;sensor=false');<\/pre>\n<p>and with the update:<\/p>\n<pre class=\"lang:php decode:true\">$this-&gt;addJS('https:\/\/maps.googleapis.com\/maps\/api\/js?v=3.exp&amp;sensor=false&amp;key=YOUR_API_KEY');<\/pre>\n<p><em><strong>controllers\/front\/StoresController.php<\/strong><\/em><br>\noriginal:<\/p>\n<pre class=\"lang:php decode:true \">$this-&gt;addJS('http'.((Configuration::get('PS_SSL_ENABLED') &amp;&amp; Configuration::get('PS_SSL_ENABLED_EVERYWHERE')) ? 's' : '').':\/\/maps.google.com\/maps\/api\/js?sensor=true&amp;region='.substr($default_country-&gt;iso_code, 0, 2));<\/pre>\n<p>should be:<\/p>\n<pre class=\"lang:php decode:true \">$this-&gt;addJS('http'.((Configuration::get('PS_SSL_ENABLED') &amp;&amp; Configuration::get('PS_SSL_ENABLED_EVERYWHERE')) ? 's' : '').':\/\/maps.google.com\/maps\/api\/js?sensor=true&amp;key=YOUR_API_KEY&amp;region='.substr($default_country-&gt;iso_code, 0, 2));<\/pre>\n<p><em><strong>themes\/default-bootstrap\/js\/stores.js<\/strong><\/em><br>\noriginal:<\/p>\n<pre class=\"lang:javascript decode:true \">var html = '&lt;b&gt;'+name+'&lt;\/b&gt;&lt;br\/&gt;'+address+(has_store_picture === 1 ? '&lt;br \/&gt;&lt;br \/&gt;&lt;img src=\"'+img_store_dir+parseInt(id_store)+'.jpg\" alt=\"\" \/&gt;' : '')+other+'&lt;br \/&gt;&lt;a href=\"http:\/\/maps.google.com\/maps?saddr=&amp;daddr='+latlng+'\" target=\"_blank\"&gt;'+translation_5+'&lt;\\\/a&gt;';<\/pre>\n<p>with the fix:<\/p>\n<pre class=\"lang:javascript decode:true \">var html = '&lt;b&gt;'+name+'&lt;\/b&gt;&lt;br\/&gt;'+address+(has_store_picture === 1 ? '&lt;br \/&gt;&lt;br \/&gt;&lt;img src=\"'+img_store_dir+parseInt(id_store)+'.jpg\" alt=\"\" \/&gt;' : '')+other+'&lt;br \/&gt;&lt;a href=\"http:\/\/maps.google.com\/maps?saddr=&amp;key=YOUR_API_KEY&amp;daddr='+latlng+'\" target=\"_blank\"&gt;'+translation_5+'&lt;\\\/a&gt;';<\/pre>\n<p><em><strong>administration\/themes\/default\/template\/controllers\/orders\/helpers\/view\/view.tpl<\/strong><\/em><br>\noriginal:<\/p>\n<pre class=\"lang:javascript decode:true \">url: 'http:\/\/maps.google.com?q={$addresses.delivery-&gt;address1|urlencode},{$addresses.delivery-&gt;postcode|urlencode},{$addresses.delivery-&gt;city|urlencode}{if ($addresses.delivery-&gt;id_state)},{$addresses.deliveryState-&gt;name|urlencode}{\/if},{$addresses.delivery-&gt;country|urlencode}'<\/pre>\n<p>updated:<\/p>\n<pre class=\"lang:javascript decode:true \">url: 'http:\/\/maps.google.com?key=YOUR_API_KEY&amp;q={$addresses.delivery-&gt;address1|urlencode},{$addresses.delivery-&gt;postcode|urlencode},{$addresses.delivery-&gt;city|urlencode}{if ($addresses.delivery-&gt;id_state)},{$addresses.deliveryState-&gt;name|urlencode}{\/if},{$addresses.delivery-&gt;country|urlencode}'<\/pre>\n<p>&nbsp;<\/p>\n<p>The latest version of PrestaShop 1.6 has&nbsp;the ability to fill the Google Map API key at the admin panel. <span style=\"font-weight: 400;\">If you are still using the outdated version of Prestashop it&rsquo;s a perfect time to <a href=\"https:\/\/belvg.com\/contact\" target=\"_blank\" rel=\"noopener\">get in touch with us<\/a> and have it updated.<\/span><\/p>\n<p>Link to prove that PrestaShop 1.6 has a patch for that:<br>\nhttps:\/\/github.com\/PrestaShop\/PrestaShop\/blob\/1.6.1.x\/controllers\/admin\/AdminOrdersController.php#L341<\/p>\n<p>You can fill in the Google Maps API key at the following path in the admin panel: Preferences -&gt; General -&gt; API key.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter wp-image-16832 size-belvg-post-content\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2016\/09\/1-Google_Maps_API_error-850x449.jpg\" alt=\"1 Google Maps API error 850x449\" width=\"850\" height=\"449\" title=\"Google Maps API error MissingKeyMapError in PrestaShop\"><\/p>\n<p><span style=\"font-weight: 400;\">Unfortunately, PrestaShop 1.7 still doesn&rsquo;t have a patch, link to prove that:<br>\nhttps:\/\/github.com\/PrestaShop\/PrestaShop\/blob\/1.7.5.x\/controllers\/admin\/AdminOrdersController.php#L336<\/span><\/p>\n<p><span style=\"font-weight: 400;\">By the way, you can apply the same logic as it was done for the 1.6 version by your own.<\/span><\/p>\n<h2><strong><span style=\"color: #000000;\">How to get the Google <\/span><\/strong><span style=\"color: #000000;\">Api<\/span><strong><span style=\"color: #000000;\">&nbsp;Key<\/span><\/strong><\/h2>\n<p><span style=\"font-weight: 400;\">Let&rsquo;s take a look at the way how you can get the Google API key.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Go to: <\/span><span style=\"font-weight: 400;\">https:\/\/cloud.google.com\/maps-platform\/?apis=maps<\/span><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter wp-image-16833 size-belvg-post-content\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2016\/09\/2-Google_Maps_API_error-850x464.jpg\" alt=\"2 Google Maps API error 850x464\" width=\"850\" height=\"464\" title=\"Google Maps API error MissingKeyMapError in PrestaShop\"><\/p>\n<p><span style=\"font-weight: 400;\">Create a new project or pick the already existing one (we&rsquo;ve created a new one):<\/span><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter wp-image-16834 size-belvg-post-content\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2016\/09\/3-Google_Maps_API_error-850x519.jpg\" alt=\"3 Google Maps API error 850x519\" width=\"850\" height=\"519\" title=\"Google Maps API error MissingKeyMapError in PrestaShop\"><\/p>\n<p><span style=\"font-weight: 400;\">Go to the project settings:<\/span><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter wp-image-16835 size-belvg-post-content\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2016\/09\/4-Google_Maps_API_error-850x393.jpg\" alt=\"4 Google Maps API error 850x393\" width=\"850\" height=\"393\" title=\"Google Maps API error MissingKeyMapError in PrestaShop\"><\/p>\n<p><span style=\"font-weight: 400;\">Choose &ldquo;Maps JavaScript API&rdquo; and switch on the service:<\/span><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter wp-image-16836 size-belvg-post-content\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2016\/09\/5-Google_Maps_API_error-850x382.jpg\" alt=\"Choose &ldquo;Maps JavaScript API&rdquo;\" width=\"850\" height=\"382\" title=\"Google Maps API error MissingKeyMapError in PrestaShop\"><\/p>\n<p><span style=\"font-weight: 400;\">Go to the settings of the &ldquo;Maps JavaScript API&rdquo;:<\/span><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter wp-image-16837 size-belvg-post-content\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2016\/09\/6-Google_Maps_API_error-850x469.jpg\" alt=\"6 Google Maps API error 850x469\" width=\"850\" height=\"469\" title=\"Google Maps API error MissingKeyMapError in PrestaShop\"><\/p>\n<p><span style=\"font-weight: 400;\">This is the place where you can find your key:<\/span><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter wp-image-16838 size-belvg-post-content\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2016\/09\/7-Google_Maps_API_error-850x345.jpg\" alt=\"7 Google Maps API error 850x345\" width=\"850\" height=\"345\" title=\"Google Maps API error MissingKeyMapError in PrestaShop\"><\/p>\n<p>Copy the key and insert it into the PrestaShop admin:<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter wp-image-16839 size-belvg-post-content\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2016\/09\/8-Google_Maps_API_error-850x434.jpg\" alt=\"8 Google Maps API error 850x434\" width=\"850\" height=\"434\" title=\"Google Maps API error MissingKeyMapError in PrestaShop\"><\/p>\n<p><span style=\"font-weight: 400;\">You can restrict key usage if you need. The key can be used for any domain by default, so no restrictions there.<\/span><\/p>\n<p>That&rsquo;s it! Hope this helps. If you still have any problems our <a href=\"https:\/\/belvg.com\/contact\" target=\"_blank\" rel=\"noopener\">technical support<\/a> is happy to solve them.<\/p>\n<p>Check out the <a href=\"https:\/\/store.belvg.com\/extensions\/prestashop.html\" target=\"_blank\" rel=\"noopener\">BelVG PrestaShop modules<\/a>!&nbsp;Find useful modules for your store.<\/p>\n<div class=\"module_in_content_container\"><a href=\"https:\/\/belvg.com\/prestashop-development\" class=\"link_to_module\" target=\"_blank\" rel=\"noopener\"><\/a><div class=\"module_content\"><img src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/development_prestashop.png\" width=\"100\" height=\"100\" alt=\"development_prestashop\" class=\"module_image\" title=\"Google Maps API error MissingKeyMapError in PrestaShop\"><div class=\"module_content_part\"><h3 class=\"title\">PrestaShop Development<\/h3><p class=\"module_content_text\">Take your online store to the next level with BelVG PrestaShop Development<\/p><a href=\"https:\/\/belvg.com\/prestashop-development\" class=\"link_2_to_module\" target=\"_blank\" style=\"display:inline-block\" rel=\"noopener\"><span class=\"read-more\">Visit the page<\/span><\/a><\/div><\/div><\/div>\n\n","protected":false},"excerpt":{"rendered":"How to solve Google Maps Api error","protected":false},"author":12,"featured_media":16831,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"image","meta":{"_acf_changed":false,"footnotes":""},"categories":[15,520,523,522],"tags":[],"class_list":["post-11643","post","type-post","status-publish","format-image","has-post-thumbnail","hentry","category-prestashop","category-prestashop-custom-development","category-prestashop-seo","category-prestashop-speed-optimization","post_format-post-format-image"],"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.4 - aioseo.com -->\n\t<meta name=\"description\" content=\"Facing MissingKeyMapError instead of a Google Maps render block? Discover how to fix the problem and add Google Maps API key in PrestaShop.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Aliaksandr Simonchik\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/belvg.com\/blog\/how-to-fix-google-maps-api-error-missingkeymaperror-in-prestashop.html\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.4\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-fix-google-maps-api-error-missingkeymaperror-in-prestashop.html#article\",\"name\":\"How to add Google Maps API key in PrestaShop | BelVG Blog\",\"headline\":\"Google Maps API error MissingKeyMapError in PrestaShop\",\"author\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/alex-simonchik#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/09\\\/Google_Maps_API_error_\\u201cMissingKeyMapError\\u201d.jpg\",\"width\":1110,\"height\":590,\"caption\":\"Google Maps API error \\u201cMissingKeyMapError\\u201d in PrestaShop\"},\"datePublished\":\"2018-10-10T12:51:20+02:00\",\"dateModified\":\"2025-07-01T09:25:19+02:00\",\"inLanguage\":\"en-US\",\"commentCount\":16,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-fix-google-maps-api-error-missingkeymaperror-in-prestashop.html#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-fix-google-maps-api-error-missingkeymaperror-in-prestashop.html#webpage\"},\"articleSection\":\"Prestashop, PrestaShop Custom Development, PrestaShop SEO, PrestaShop Speed Optimization, Image\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-fix-google-maps-api-error-missingkeymaperror-in-prestashop.html#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/belvg.com\\\/blog\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/category\\\/prestashop#listItem\",\"name\":\"Prestashop\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/category\\\/prestashop#listItem\",\"position\":2,\"name\":\"Prestashop\",\"item\":\"https:\\\/\\\/belvg.com\\\/blog\\\/category\\\/prestashop\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-fix-google-maps-api-error-missingkeymaperror-in-prestashop.html#listItem\",\"name\":\"Google Maps API error MissingKeyMapError in PrestaShop\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-fix-google-maps-api-error-missingkeymaperror-in-prestashop.html#listItem\",\"position\":3,\"name\":\"Google Maps API error MissingKeyMapError in PrestaShop\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/category\\\/prestashop#listItem\",\"name\":\"Prestashop\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#organization\",\"name\":\"BelVG Blog\",\"description\":\"Magento and Prestashop articles\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/alex-simonchik#author\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/alex-simonchik\",\"name\":\"Aliaksandr Simonchik\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-fix-google-maps-api-error-missingkeymaperror-in-prestashop.html#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6553917a81b1da7866b8b875368df6cbbec56413c3438694df8539de7fb092c0?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Aliaksandr Simonchik\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-fix-google-maps-api-error-missingkeymaperror-in-prestashop.html#webpage\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-fix-google-maps-api-error-missingkeymaperror-in-prestashop.html\",\"name\":\"How to add Google Maps API key in PrestaShop | BelVG Blog\",\"description\":\"Facing MissingKeyMapError instead of a Google Maps render block? Discover how to fix the problem and add Google Maps API key in PrestaShop.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-fix-google-maps-api-error-missingkeymaperror-in-prestashop.html#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/alex-simonchik#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/alex-simonchik#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/09\\\/Google_Maps_API_error_\\u201cMissingKeyMapError\\u201d.jpg\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-fix-google-maps-api-error-missingkeymaperror-in-prestashop.html\\\/#mainImage\",\"width\":1110,\"height\":590,\"caption\":\"Google Maps API error \\u201cMissingKeyMapError\\u201d in PrestaShop\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-fix-google-maps-api-error-missingkeymaperror-in-prestashop.html#mainImage\"},\"datePublished\":\"2018-10-10T12:51:20+02:00\",\"dateModified\":\"2025-07-01T09:25:19+02:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/\",\"name\":\"BelVG Blog\",\"description\":\"Magento and Prestashop articles\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"How to add Google Maps API key in PrestaShop | BelVG Blog","description":"Facing MissingKeyMapError instead of a Google Maps render block? Discover how to fix the problem and add Google Maps API key in PrestaShop.","canonical_url":"https:\/\/belvg.com\/blog\/how-to-fix-google-maps-api-error-missingkeymaperror-in-prestashop.html","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/belvg.com\/blog\/how-to-fix-google-maps-api-error-missingkeymaperror-in-prestashop.html#article","name":"How to add Google Maps API key in PrestaShop | BelVG Blog","headline":"Google Maps API error MissingKeyMapError in PrestaShop","author":{"@id":"https:\/\/belvg.com\/blog\/author\/alex-simonchik#author"},"publisher":{"@id":"https:\/\/belvg.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2016\/09\/Google_Maps_API_error_\u201cMissingKeyMapError\u201d.jpg","width":1110,"height":590,"caption":"Google Maps API error \u201cMissingKeyMapError\u201d in PrestaShop"},"datePublished":"2018-10-10T12:51:20+02:00","dateModified":"2025-07-01T09:25:19+02:00","inLanguage":"en-US","commentCount":16,"mainEntityOfPage":{"@id":"https:\/\/belvg.com\/blog\/how-to-fix-google-maps-api-error-missingkeymaperror-in-prestashop.html#webpage"},"isPartOf":{"@id":"https:\/\/belvg.com\/blog\/how-to-fix-google-maps-api-error-missingkeymaperror-in-prestashop.html#webpage"},"articleSection":"Prestashop, PrestaShop Custom Development, PrestaShop SEO, PrestaShop Speed Optimization, Image"},{"@type":"BreadcrumbList","@id":"https:\/\/belvg.com\/blog\/how-to-fix-google-maps-api-error-missingkeymaperror-in-prestashop.html#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/#listItem","position":1,"name":"Home","item":"https:\/\/belvg.com\/blog\/","nextItem":{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/category\/prestashop#listItem","name":"Prestashop"}},{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/category\/prestashop#listItem","position":2,"name":"Prestashop","item":"https:\/\/belvg.com\/blog\/category\/prestashop","nextItem":{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/how-to-fix-google-maps-api-error-missingkeymaperror-in-prestashop.html#listItem","name":"Google Maps API error MissingKeyMapError in PrestaShop"},"previousItem":{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/how-to-fix-google-maps-api-error-missingkeymaperror-in-prestashop.html#listItem","position":3,"name":"Google Maps API error MissingKeyMapError in PrestaShop","previousItem":{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/category\/prestashop#listItem","name":"Prestashop"}}]},{"@type":"Organization","@id":"https:\/\/belvg.com\/blog\/#organization","name":"BelVG Blog","description":"Magento and Prestashop articles","url":"https:\/\/belvg.com\/blog\/"},{"@type":"Person","@id":"https:\/\/belvg.com\/blog\/author\/alex-simonchik#author","url":"https:\/\/belvg.com\/blog\/author\/alex-simonchik","name":"Aliaksandr Simonchik","image":{"@type":"ImageObject","@id":"https:\/\/belvg.com\/blog\/how-to-fix-google-maps-api-error-missingkeymaperror-in-prestashop.html#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/6553917a81b1da7866b8b875368df6cbbec56413c3438694df8539de7fb092c0?s=96&d=mm&r=g","width":96,"height":96,"caption":"Aliaksandr Simonchik"}},{"@type":"WebPage","@id":"https:\/\/belvg.com\/blog\/how-to-fix-google-maps-api-error-missingkeymaperror-in-prestashop.html#webpage","url":"https:\/\/belvg.com\/blog\/how-to-fix-google-maps-api-error-missingkeymaperror-in-prestashop.html","name":"How to add Google Maps API key in PrestaShop | BelVG Blog","description":"Facing MissingKeyMapError instead of a Google Maps render block? Discover how to fix the problem and add Google Maps API key in PrestaShop.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/belvg.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/belvg.com\/blog\/how-to-fix-google-maps-api-error-missingkeymaperror-in-prestashop.html#breadcrumblist"},"author":{"@id":"https:\/\/belvg.com\/blog\/author\/alex-simonchik#author"},"creator":{"@id":"https:\/\/belvg.com\/blog\/author\/alex-simonchik#author"},"image":{"@type":"ImageObject","url":"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2016\/09\/Google_Maps_API_error_\u201cMissingKeyMapError\u201d.jpg","@id":"https:\/\/belvg.com\/blog\/how-to-fix-google-maps-api-error-missingkeymaperror-in-prestashop.html\/#mainImage","width":1110,"height":590,"caption":"Google Maps API error \u201cMissingKeyMapError\u201d in PrestaShop"},"primaryImageOfPage":{"@id":"https:\/\/belvg.com\/blog\/how-to-fix-google-maps-api-error-missingkeymaperror-in-prestashop.html#mainImage"},"datePublished":"2018-10-10T12:51:20+02:00","dateModified":"2025-07-01T09:25:19+02:00"},{"@type":"WebSite","@id":"https:\/\/belvg.com\/blog\/#website","url":"https:\/\/belvg.com\/blog\/","name":"BelVG Blog","description":"Magento and Prestashop articles","inLanguage":"en-US","publisher":{"@id":"https:\/\/belvg.com\/blog\/#organization"}}]}},"aioseo_meta_data":{"post_id":"11643","title":"How to add Google Maps API key in PrestaShop | #site_title","description":"Facing MissingKeyMapError instead of a Google Maps render block? Discover how to fix the problem and add Google Maps API key in PrestaShop.","keywords":null,"keyphrases":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_custom_url":null,"og_image_custom_fields":null,"og_image_url":null,"og_image_width":null,"og_image_height":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_image_url":null,"twitter_title":null,"twitter_description":null,"schema_type":"default","schema_type_options":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null,"created":"2026-11-03 18:37:27","updated":"2026-11-03 18:37:27"},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/belvg.com\/blog\/\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/belvg.com\/blog\/category\/prestashop\" title=\"Prestashop\">Prestashop<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tGoogle Maps API error MissingKeyMapError in PrestaShop\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/belvg.com\/blog\/"},{"label":"Prestashop","link":"https:\/\/belvg.com\/blog\/category\/prestashop"},{"label":"Google Maps API error MissingKeyMapError in PrestaShop","link":"https:\/\/belvg.com\/blog\/how-to-fix-google-maps-api-error-missingkeymaperror-in-prestashop.html"}],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/posts\/11643","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/comments?post=11643"}],"version-history":[{"count":18,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/posts\/11643\/revisions"}],"predecessor-version":[{"id":29740,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/posts\/11643\/revisions\/29740"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/media\/16831"}],"wp:attachment":[{"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/media?parent=11643"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/categories?post=11643"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/tags?post=11643"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}