SwipeX / PokeMate

Automated PokemonGo Application
GNU General Public License v3.0
111 stars 45 forks source link

Error when launching #247

Closed Joelieo closed 8 years ago

Joelieo commented 8 years ago

Hi guys,

My login for Google works fine but getting this error repeating and blocking any kind of access when attempting to login into my partners..

Any ideas?

Jul 31, 2016 11:07:48 PM com.google.maps.OkHttpRequestHandler handle INFO: Request: https://maps.googleapis.com/maps/api/directions/json?key=AIzaSyAySy_mS7_x29XIB9wmILhJfq0mmEfor08&mode=walking&origin=53.47906691%2C-2.24372242&destination=53.48056204%2C-2.24297174 com.google.maps.errors.RequestDeniedException: This API project is not authorized to use this API. Please ensure this API is activated in the Google Developers Console: https://console.developers.google.com/apis/api/directions_backend?project=_ at com.google.maps.errors.ApiException.from(ApiException.java:50) at com.google.maps.DirectionsApi$Response.getError(DirectionsApi.java:75) at com.google.maps.internal.OkHttpPendingResult.parseResponse(OkHttpPendingResult.java:270) at com.google.maps.internal.OkHttpPendingResult.await(OkHttpPendingResult.java:167) at com.google.maps.PendingResultBase.await(PendingResultBase.java:56) at dekk.pw.pokemate.tasks.Navigate.queryDirections(Navigate.java:144) at dekk.pw.pokemate.tasks.Navigate.populateDirections(Navigate.java:166) at dekk.pw.pokemate.tasks.Navigate.(Navigate.java:45) at dekk.pw.pokemate.tasks.TaskController.(TaskController.java:22) at dekk.pw.pokemate.PokeMate.(PokeMate.java:77) at dekk.pw.pokemate.PokeMate.main(PokeMate.java:97)

I've already followed the link but no joy?

SippieCup commented 8 years ago

You do not have the correct permissions set up for that API key. make sure that the google directions API is also enabled in the google developer console.