Google Maps API

This topic contains 6 replies, has 4 voices, and was last updated by  ankita ankita 5 years, 6 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #451427

    ankita ankita
    Free User
    Post count: 2

    Hello, I’ve generated the maps API and also added the billing information but when i try to open geodirectory i get pop up stating “Geocode was not successful for the following reason: REQUEST_DENIED”.
    Can you please help?

    #451459

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    it seems very likely that the billing setup is not complete.

    you can check your API limits, and if the javascript API is set to 1, that is definitely the issue.

    You can use the chrome inspector to see the error from the google api.

    Check the api limit and let us know what you find.

    #451478

    ankita ankita
    Free User
    Post count: 2
    This reply has been marked as private.
    #451488

    Alex Rollin
    Moderator
    Post count: 27815

    It could be that you have overly secured the key:
    https://wpgeodirectory.com/docs-v2/integrations/google/#secure

    #451573

    Kai Liu
    Expired Member
    Post count: 368

    I had the same issue and took me hours to find out that when you set permission to domain URL in Google API control panel is critical.

    I initialy tried all possible combinations, eg
    http://*.domain.name/
    https://*.domain.name/
    http://*.domain.name/*
    https://*.domain.name/*
    http://domain.name/*
    https://domain.name/*
    *.domain.name/*

    and finally, I add the following and it works
    domain.name/*

    NOTE: I did not use www. just 301 forward all www. to without

    hope this help

    #451575

    Kor
    Moderator
    Post count: 16516

    Hi Kai Liu,

    Thanks for sharing the solution.

    Hi ankita,

    Let us know how it goes.

    Thanks!

    #451600

    ankita ankita
    Free User
    Post count: 2

    Hello

    Thanks for the soluntion.Finally, my problem is resolved 🙂

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket