• I 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 https://g.co/dev/maps-no-account

    Some pages’ shortcode it’s working fine so what exactly issue and how can I fix it?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Alan Fuller

    (@alanfuller)

    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.

    Thread Starter vasaragova

    (@vasaragova)

    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?

    Thread Starter vasaragova

    (@vasaragova)

    Any Ip address restriction of key or Any services enable from google?

    Plugin Author Alan Fuller

    (@alanfuller)

    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 )

    Thread Starter vasaragova

    (@vasaragova)

    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 https://g.co/dev/maps-no-account",
       "results" : [],
       "status" : "REQUEST_DENIED"
    }

    Any enable service or what?

    Thread Starter vasaragova

    (@vasaragova)

    Also see following error

    API keys with referer restrictions cannot be used with this API

    Plugin Author Alan Fuller

    (@alanfuller)

    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

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Map not loading’ is closed to new replies.