{"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-05-01T08:13:31","modified_gmt":"2020-05-01T08:13:31","slug":"google-maps-error","status":"publish","type":"faq","link":"https:\/\/demos.welaunch.io\/wordpress-store-locator\/faq\/google-maps-error\/","title":{"rendered":"I always get a Google Maps error (GEOCODE)"},"content":{"rendered":"[vc_row][vc_column][vc_column_text]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:[\/vc_column_text][vc_single_image image=&#8221;2361&#8243; css=&#8221;.vc_custom_1588320770200{margin-top: 20px !important;margin-bottom: 20px !important;}&#8221;][vc_column_text]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[\/vc_column_text][vc_single_image image=&#8221;1235&#8243; css=&#8221;.vc_custom_1544512477800{margin-top: 20px !important;margin-bottom: 20px !important;}&#8221;][vc_column_text]<strong>If this does not work &#8211; open up the developer console. Reload the page and look into the console error.<\/strong>[\/vc_column_text][\/vc_column][\/vc_row]\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-faq"],"_links":{"self":[{"href":"https:\/\/demos.welaunch.io\/wordpress-store-locator\/wp-json\/wp\/v2\/faq\/408","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/demos.welaunch.io\/wordpress-store-locator\/wp-json\/wp\/v2\/faq"}],"about":[{"href":"https:\/\/demos.welaunch.io\/wordpress-store-locator\/wp-json\/wp\/v2\/types\/faq"}],"author":[{"embeddable":true,"href":"https:\/\/demos.welaunch.io\/wordpress-store-locator\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/demos.welaunch.io\/wordpress-store-locator\/wp-json\/wp\/v2\/comments?post=408"}],"version-history":[{"count":5,"href":"https:\/\/demos.welaunch.io\/wordpress-store-locator\/wp-json\/wp\/v2\/faq\/408\/revisions"}],"predecessor-version":[{"id":2362,"href":"https:\/\/demos.welaunch.io\/wordpress-store-locator\/wp-json\/wp\/v2\/faq\/408\/revisions\/2362"}],"wp:attachment":[{"href":"https:\/\/demos.welaunch.io\/wordpress-store-locator\/wp-json\/wp\/v2\/media?parent=408"}],"wp:term":[{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/demos.welaunch.io\/wordpress-store-locator\/wp-json\/wp\/v2\/product_cat?post=408"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}