{"id":408,"date":"2017-08-31T14:52:26","date_gmt":"2017-08-31T14:52:26","guid":{"rendered":"https:\/\/demos.welaunch.io\/wordpress-store-locator\/?post_type=faq&#038;p=408"},"modified":"2020-06-20T12:28:47","modified_gmt":"2020-06-20T10:28:47","slug":"google-maps-error","status":"publish","type":"faq","link":"https:\/\/www.welaunch.io\/en\/knowledge-base\/faq\/google-maps-error\/","title":{"rendered":"I always get a Google Maps error (GEOCODE)"},"content":{"rendered":"<p>If you get a &#8220;Geocoder failed due to: REQUEST_DENIED&#8221; error, then right click on yoursite, click on inspect and open the browser console. Reload your store locator page, and watch out for Google Errors. An example below:Example above shows this error.<\/p>\n<pre>Geocoding Service: This API project is not authorized to use this API. For more information on authentication and Google Maps JavaScript API services please see: https:\/\/developers.google.com\/maps\/documentation\/javascript\/get-api-key<\/pre>\n<p>Also please make sure you have setup your <a href=\"https:\/\/console.developers.google.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">API Key correctly in the Google Console<\/a>:<\/p>\n<ul>\n<li>Allow your domain to access the key<\/li>\n<li>Enable: Google Places API Web Service<\/li>\n<li>Enable: Google Maps JavaScript<\/li>\n<li>Enable: Google Maps Geocoding<\/li>\n<\/ul>\n<p><strong>If this does not work &#8211; open up the developer console. Reload the page and look into the console error.<\/strong><\/p>\n","protected":false},"author":1,"featured_media":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","product_cat":[],"class_list":["post-408","faq","type-faq","status-publish","hentry","faq_topics-store-locator-faq"],"_links":{"self":[{"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/faq\/408","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/faq"}],"about":[{"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/types\/faq"}],"author":[{"embeddable":true,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/comments?post=408"}],"version-history":[{"count":0,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/faq\/408\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/media?parent=408"}],"wp:term":[{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/product_cat?post=408"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}