Conversation
supportI have map display on shortcode see following error occured Something went wrong while retrieving your map, please ensure you have entered the short code correctly. Address: Whitegates, London Road, Black Notley, Braintree, Essex, CM7 8QQ Status: REQUEST_DENIED Google Msg: You must use an API key to authenticate each request to Google Maps Platform APIs. For additional information, please refer to http://g.co/dev/maps-no-account Some pages’ shortcode it’s working fine so what exactly issue and how can I fix it?
The issue is exactly as described – you have got an error in the API key on some of your shortcodes, maybe a copy and paste issue. Check your working shortcodes and cross check with your failed shortcodes.
Thank you for your quick response The same short code and section use another page and it’s working fine so Any restriction in API for map generation from address? Any address validation issue or what?
Any Ip address restriction of key or Any services enable from google?
Here it is working with your address https://fullworksplugins.com/2022/09/free-plugin-simple-shortcode-for-google-maps/ But I found you can break it by having invalid characters in the address like # or % and possibly invisible characters. I suggest deleting the address and retyping carefully ( copy and paste is often a bad idea too )
Thank you for quick replied and help me I have checked and tried but still not working see following error occured [body] => { "error_message" : "You must use an API key to authenticate each request to Google Maps Platform APIs. For additional information, please refer to http://g.co/dev/maps-no-account", "results" : [], "status" : "REQUEST_DENIED" } Any enable service or what?
Also see following error API keys with referer restrictions cannot be used with this API
I’m not sure I can help you really apart from step back and do things a step at a time. Create an unrestricted API key. Set up a shortcode with a simple address. Test.if it works Add the API restrictions, you need geoencoding and map JavaScript. Test. If it works Add either IP or domain restriction Test I know the plugin works for the address you gave, so it is something wrong, either in the way you have set up your key or they way you write the shortcode. You just need to be methodical
The issue is exactly as described – you have got an error in the API key on some of your shortcodes, maybe a copy and paste issue. Check your working shortcodes and cross check with your failed shortcodes.
Thank you for your quick response The same short code and section use another page and it’s working fine so Any restriction in API for map generation from address? Any address validation issue or what?
Any Ip address restriction of key or Any services enable from google?
Here it is working with your address https://fullworksplugins.com/2022/09/free-plugin-simple-shortcode-for-google-maps/ But I found you can break it by having invalid characters in the address like # or % and possibly invisible characters. I suggest deleting the address and retyping carefully ( copy and paste is often a bad idea too )
Thank you for quick replied and help me I have checked and tried but still not working see following error occured [body] => { "error_message" : "You must use an API key to authenticate each request to Google Maps Platform APIs. For additional information, please refer to http://g.co/dev/maps-no-account", "results" : [], "status" : "REQUEST_DENIED" } Any enable service or what?
Also see following error API keys with referer restrictions cannot be used with this API
I’m not sure I can help you really apart from step back and do things a step at a time. Create an unrestricted API key. Set up a shortcode with a simple address. Test.if it works Add the API restrictions, you need geoencoding and map JavaScript. Test. If it works Add either IP or domain restriction Test I know the plugin works for the address you gave, so it is something wrong, either in the way you have set up your key or they way you write the shortcode. You just need to be methodical