Solve this: ipRefererBlocked

Do you get this error with Google Api: The referrer null does not match does not match the referrer restrictions configured on your API key. Please use the API Console to update your key restrictions or ipRefererBlocked?

To solve this problem you must add a refferer address in your script.

For example, I'm using CURL and I have added:

curl_setopt($curl, CURLOPT_REFERER, 'scrisoft.com');

In this way you can fix the ipRefererBlocked error.

I hope you will find useful this tutorial.









Leave a Comment