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=_

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by Joelieo
, 1 year ago
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=_
via GitHub by FreakySt0rm
, 1 year ago
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=_
via GitHub by bigbansal
, 1 year ago
Speed limits are not available for this project.
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)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.