Ip не авторизован для использования API-ключа в Direction API - PullRequest
0 голосов
/ 07 апреля 2019

Я изучаю Direction Api с этим учебным пособием.Я включил Direction API, и мое приложение ограничено отпечатком пальца SHA-1.Когда я пытаюсь увидеть ломаную линию, у меня появляется ошибка:

2019-04-07 17:09:42.991 29943-30014/com.example.directiontest D/mylog: Downloaded URL: {   "error_message" : "This IP, site or mobile application is not authorized to use this API key. Request received from IP address //there is my ip address//, with empty referer",   "routes" : [],   "status" : "REQUEST_DENIED"}
2019-04-07 17:09:42.991 29943-30014/com.example.directiontest D/mylog: Background task data {   "error_message" : "This IP, site or mobile application is not authorized to use this API key. Request received from IP address //there is my ip address//, with empty referer",   "routes" : [],   "status" : "REQUEST_DENIED"}
2019-04-07 17:09:42.994 29943-30016/com.example.directiontest D/mylog: {   "error_message" : "This IP, site or mobile application is not authorized to use this API key. Request received from IP address //there is my ip address//, with empty referer",   "routes" : [],   "status" : "REQUEST_DENIED"}
2019-04-07 17:09:42.995 29943-30016/com.example.directiontest D/mylog: com.example.directiontest.DataParser@11a2659
2019-04-07 17:09:42.995 29943-30016/com.example.directiontest D/mylog: Executing routes
2019-04-07 17:09:42.995 29943-30016/com.example.directiontest D/mylog: []
2019-04-07 17:09:42.996 29943-29943/com.example.directiontest D/mylog: without Polylines drawn
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...