6 posts by 2 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: July 11   (RSS)

I received this error while i used the plugin: "Error: STATUS_REQUEST_DENIED"

Could you help me to solve this problem?

Thank you in advance for your answer.

Orazio

Undefined variable: httpStatus in /home/howtosic/public_html/cmsb/plugins/geocoder.php on line 141

Hi Orazio,

The most likely cause of this error is either a missing or incorrect API key. Have you set up an account with the Google Cloud Platform Console (https://console.cloud.google.com/) to obtain a key for the Places API? If not you will need to do so (https://developers.google.com/maps/documentation/javascript/get-api-key), and add the key to the Geocoder plugin on line 10. 

Let me know if you have any questions.

Thanks,

Daniel
PHP Programmer
interactivetools.com

By mbareara - July 10 - edited: July 10

mmmm i made everything as google require. The account is verified... the api key is correct... :-(

This is the chat with google support:

GOOGLE: note that web services cannot work with API keys that are HTTP referrer-restricted like yours is. To use web services, you need to create a second API key and restrict it by IP address (or leave it unrestricted, which we do not recommend for security reasons).

So, if i have to create a second key, wich key will i put on geocoder?