This IP, site or mobile application is not authorized to use this API key.

5,865 views
Skip to first unread message

Peter Bennett

unread,
Feb 13, 2014, 9:35:16 AM2/13/14
to google-maps-ap...@googlegroups.com

Here is my API Console:

Key for browser apps (with referers)
API key:
THISISMYAPIKEYEXAMPLEONLY
Referers:
Activated on:Feb 13, 2014 6:18 AM
Activated by://////////////////////////////////////////////////////////////////////

<?php
$json = file_get_contents($jsonurl);
var_dump(json_decode($json));
?>


And this is the output

object(stdClass)#1 (3) { ["error_message"]=> string(74) "This IP, site or mobile application is not authorized to use this API key." ["results"]=> array(0) { } ["status"]=> string(14) "REQUEST_DENIED" }

Arghhh please help, I have turned all related SERVICES in the console also but still get the above error and I have NOT reached my quota!

:(

Thanks

Josh L

unread,
Feb 13, 2014, 1:55:03 PM2/13/14
to google-maps-ap...@googlegroups.com
You'll want to use a server key (which you can limit based on the IP of the server you are making your request from) when using the web service.
Reply all
Reply to author
Forward
0 new messages