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

GitHub | FreakySt0rm | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Google API Key Issue

    GitHub | 7 months ago | FreakySt0rm
    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=_
  2. 0

    Error when launching

    GitHub | 7 months ago | Joelieo
    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=_

    Root Cause Analysis

    1. 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()
    2. com.google.maps
      PendingResultBase.await
      1. com.google.maps.errors.ApiException.from(ApiException.java:50)
      2. com.google.maps.DirectionsApi$Response.getError(DirectionsApi.java:75)
      3. com.google.maps.internal.OkHttpPendingResult.parseResponse(OkHttpPendingResult.java:270)
      4. com.google.maps.internal.OkHttpPendingResult.await(OkHttpPendingResult.java:167)
      5. com.google.maps.PendingResultBase.await(PendingResultBase.java:56)
      5 frames
    3. dekk.pw.pokemate
      PokeMate.main
      1. dekk.pw.pokemate.tasks.Navigate.queryDirections(Navigate.java:61)
      2. dekk.pw.pokemate.tasks.Navigate.populateDirections(Navigate.java:83)
      3. dekk.pw.pokemate.tasks.Navigate.<init>(Navigate.java:31)
      4. dekk.pw.pokemate.tasks.TaskController.<init>(TaskController.java:20)
      5. dekk.pw.pokemate.PokeMate.<init>(PokeMate.java:49)
      6. dekk.pw.pokemate.PokeMate.main(PokeMate.java:55)
      6 frames