I am using Geolocation.watchPosition()
and I get the following error on callback
Network location provider at 'https://www.googleapis.com/' : Returned error code 403.
This seems to be only happening in chrome desktop browser. firefox seems to be fine. This is also just started happening today, I have never come across this error before within my web app using the Geolocation.watchPosition()
.
Update: bug https://bugs.chromium.org/p/chromium/issues/detail?id=753242
This might be the answer you're looking for. 403 means you've reached your daily limit when using googleapis, I am getting the same problem on all my google software.
Source: https://developers.google.com/maps/documentation/geolocation/intro
This happened to me too. I had to enable location services on my Mac.