API key not sent by plugin?

New home Forums Basic Version Troubleshooting API key not sent by plugin?

Tagged: ,

This topic contains 3 replies, has 2 voices, and was last updated by  tex1974 1 year, 1 month ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #43632

    tex1974
    Participant

    My map says “This page can’t load Google Maps correctly.”

    I already created a new API Key, connected to a Google project, with billing setup, and huge quotas.
    I entered the API key in my plugin. But no luck.
    My js console says:
    – You have exceeded your request quota for this API
    – Google Maps JavaScript API warning: NoApiKeys

    Again, my API key has huge quotas setup, so the quota error doesn’t make sense.

    But more odd, is the NoApiKeys warning.
    Why would that happen, if the WPGM plugin was working properly?

    The NoApiKeys warning links to https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys
    which says “The script element that loads the API has no API key”.

    Searching the source-view on my map page, I do not see the expected-
    https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY

    I only see
    https://maps.googleapis.com/maps/api/js?v=3&sensor=false&callback=google.loader.callbacks.maps

    In my Google cloud-platform account, the ‘Maps JavaScript API’ shows 0 requests, despite numerous attempts to view the map today.

    So it seems like the WPGM plugin is failing to send my API key to Google Maps API.

    Thoughts?

    • This topic was modified 1 year, 1 month ago by  tex1974. Reason: added info about 'Maps JavaScript API' shows 0 requests
    #43640

    Dylan
    Moderator

    Hi there,

    Thank you so much for getting in touch and our sincere apologies for the trouble you are having on your side.

    Based on the information provided it appears there may be an additional map module loading on your site. This may be from another plugin, or in some cases may be present in the theme.

    May I ask for a link to your site (map page) so that I may take a closer look and confirm?

    I look forward to hearing back from you.

    Kind Regards,
    Dylan Auty

    #43697

    tex1974
    Participant

    The map is here – http://www.jkamdigital.com/contact/
    Thanks for your help on this!

    #43840

    tex1974
    Participant

    Hi, still hoping for assistance on this, as it seems like the WP Google Maps plugin is failing to provide my API key where it should.

    #43841

    Dylan
    Moderator

    Hi there,

    My apologies for the delay in response, I had not received a notification of your previous response.

    It appears you may be using a caching solution which is currently compressing our scripts into a single file. This helps optimize the page load speed, however it does mean I am not able to run a full test from the front end.

    Could I ask if you make use of any performance plugins? If so, would it be possible to disable these temporarily so that I may continue testing from my side?

    Kind Regards,
    Dylan Auty

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.