Cordova Geolocation PositionError (code: 2)

Hi everyone! I’m using cordova-plugin-geolocation and @ionic-native/geolocation to catch the user current position. But when I try it on ionic serve I get the following error:

positionError {code: 2, message: "Network location provider at 'https://www.googleapis.com/' : Returned error code 403."}

This is my code:

this.geolocation.getCurrentPosition({enableHighAccuracy: true}).then(position => {
     console.log(position);
}).catch(error => {
     console.log(error);
});

I’m using chromium on ubuntu 18.04.

What is wrong?

Thank’s for the help!