Support » Plugin: Directorist - Business Directory Plugin » ExpiredKeyMapError

  • Resolved po_md


    First, thank you for the plugin.

    I have had the Google map working previously, but for some reason it is not now.

    Every time I load I receive an ExpiredKeyMapError in the console. The key being used is a previous API key.

    Is there some caching going on that’s preventing the new API key from being used?

    Thank you.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Rafiz Sejim



    Thank you for reaching us out.

    I am sorry but the Directorist is not responsible for the ExpiredKeyMapError.

    According to Google,

    The API key included in the script element that loads the API has expired or is not recognized by the system. You may receive this error after creating a new API key if you try to use the key before it is recognized by the system. Wait a few minutes and try again, or you may need to generate a new API key in the Google Cloud Platform Console.

    Either the key has expired and you need to generate a new API key along with the billing system as it is not free after a certain extent or you need to enable a few things for the new API-

    Step 1: Please make sure, you have set the Javascript Google Map API key correctly. [You must need the JAVASCRIPT API to make it work, any other will not work]

    Step 2: In this stage, you need to enable the Maps JavaScript API under APIs in the Google Cloud Platform Console. Go to the Google Console and look for the Javascript Map API and enable it.

    Step 3: After enabling it, make sure you have the following API enabled.

    1. Places API
    2. Geocoding API


    Thread Starter po_md


    Thanks for getting back to me!

    The problem was a competing plugin giving Google outdated API information. I deactivated it and now the map is working.


Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘ExpiredKeyMapError’ is closed to new replies.