In my site, I am using a feature to display the state name (Eg:Texas) from where the person is browsing the website. I am using google geolocation api for that feature. It was working perfectly till two weeks ago. But now it is not working. When I searched the browser console, the error message is "Failed to load resource: the server responded with a status of 403 ()". The site is using http and not https.
Inorder to know whether the key is expired or not, I used another key with geolocation api enabled in it. But still I am getting the same error. I tried postman to know the result but it shows "error": {"errors": [{"domain": "usageLimits","reason": ipRefererBlocked", }
https://www.googleapis.com/geolocation/v1/geolocate?key=xxxx
I need to get the name of state from where the user is browsing the website.