google maps rejected request

If you're a new user of AppGini, feel free to ask general usage questions, or look for answers here.
Post Reply
remkop
Posts: 3
Joined: 2016-04-05 20:00

google maps rejected request

Post by remkop » 2016-04-05 22:06

Hi All,

I have added a google map field, created the API-key etc.

The strange thing I'm seeing is that the thumbnail in the table view is looking good (is an API cal without the key) but in the detail view I get an error "The Google Maps API server rejected your request. This IP, site or mobile application is not authorized to use this API key."
Also the code in incCommon.php is looking valid to me.
But when I'm looking what kind of iframe is generated and copy this to a separate html file on same website it is working fine.

Example of appgini http://www.cs010.cc/Test/Oefeningen2/Oe ... n_view.php
Example (with exact iframe): http://cs010.cc/Test/test.html

Hope someone can help me with this.

Kind regards,
Remko

remkop
Posts: 3
Joined: 2016-04-05 20:00

Re: google maps rejected request

Post by remkop » 2016-04-05 22:57

Solved.

It had to do with the http referrers for the Browser API key. I changed it to .cs010.cc/ (previously it was http://cs010.cc

Post Reply