Forum Support

 
Advanced Search


[1]

Offline danab
Free Member
Posts: 49
Posted on: June 05, 2018, 10:01:12 AM

Good day,

I have a problem when loading my page and displaying the correct map. I have gone through the process to obtain an API from google but i still end up with the following error:

Localhost: Geocode was not successful for the following reason: REQUEST_DENIED

How do i fix this?

Kind regards,
Daniel
Logged

Offline jonahh
Free Member
Posts: 23789 WWW
Posted on: June 06, 2018, 10:55:25 AM

Hello,

If you are loading it in localhost and not a domain on the internet you may encounter this. The Google API is tied to your domain name. If you are running the site on the internet let me know and we can chat further.

Thanks,
Logged

Offline danab
Free Member
Posts: 49
Posted on: June 07, 2018, 12:13:38 AM

Hello Jonahh,

Thank you very much. Yes i am running on localhost. I will upload the website as soon as i can, check it and if there is a problem i will ping you here.

Kind regards,
Daniel Booysen
Logged

Offline evolution
Free Member
Posts: 19
Posted on: June 13, 2018, 05:31:00 PM

I am getting this error on a live site, API is good:

https://theearthroamers.com/
Logged

Offline jonahh
Free Member
Posts: 23789 WWW
Posted on: June 14, 2018, 11:27:50 AM

Hmm and to double check, the API is for the theearthroamers.com too?
Logged

Offline evolution
Free Member
Posts: 19
Posted on: June 14, 2018, 04:16:19 PM

Hmm and to double check, the API is for the theearthroamers.com too?

Yep, all correct. I've tried reissuing it and trying again. Looks like that's made it work. Weird.
Logged

Offline danab
Free Member
Posts: 49
Posted on: June 15, 2018, 10:46:50 AM

Hi i have uploaded my website and still get the access denied error.

Any solutions?

@Admin - Do you want the login details?
Logged

Offline jonahh
Free Member
Posts: 23789 WWW
Posted on: June 18, 2018, 11:20:16 AM

Yes, I would also need Google API login details too. You might just want to try re-issuing an API key, and then input this new fresh one, as this sometimes fixes it.
Logged

Offline danab
Free Member
Posts: 49
Posted on: June 18, 2018, 11:28:27 AM

Let me try this.

I asked Mikek to login to our website to do some debugging, do you know what the delay may be about?

BR,
Daniel
Logged

Offline jonahh
Free Member
Posts: 23789 WWW
Posted on: June 19, 2018, 10:57:07 AM

I'm not sure but I'll ping him to remind him you are looking for assistance.
Logged

Offline danab
Free Member
Posts: 49
Posted on: June 27, 2018, 12:35:27 PM

Hi J,

The API still doesnt work. Even if it is online. I contacted google and they said that there is a new payment policy being ruled in this month.

Do i need to pay for the API from google or can i use another company to provide me with that key?

Alternatively, I was wondering if instead using the s5 map it with google plugin, or even by using it, you can just add a picture with the map marker, obviously it wont be interactive map but atleast it is something
Logged

Offline jonahh
Free Member
Posts: 23789 WWW
Posted on: June 28, 2018, 11:16:20 AM

No the map API is not included in their new paid services so it will continue to work fine. The only way I can help is if you PM me login details. Joomla and your Google access so I can dig into this.
Logged

Offline yarranton
Free Member
Posts: 5
Posted on: July 26, 2018, 11:40:21 AM

Hi,

I am trying to set this up for the first time and have the same error:

"Geocode was not successful for the following reason: REQUEST_DENIED"

Also, in the Chrome console I see the following error:

"Geocoding Service: This API project is not authorized to use this API.  For more information on authentication and Google Maps JavaScript API services please see: https://developers.google.com/maps/documentation/javascript/get-api-key"

I have set up a "Maps Javascript API" key which has no restrictions on it so not sure why this is happening.  Did you get to the bottom of the problem?

Logged

Offline yarranton
Free Member
Posts: 5
Posted on: July 26, 2018, 11:50:53 AM

As an update, I realised I might need to enable the GEOCODE API which I have now done, but still got the error.  However, the error has changed in the Chrome console to the following:

"Geocoding Service: You must use an API key to authenticate each request to Google Maps Platform APIs."

So I went back into the module and saved it (no changes) and did a hard refresh on my browser and it works.
Logged
[1]

Jump to:  


Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Page created in 0.019 seconds with 20 queries.
Need some help getting your site up and running? Be sure to check out our tutorials area, post on the forum or hire us
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.