2016-10-20 4 views
0

に要求直面:https://maps.googleapis.com/maps/api/place/autocomplete/json?input=d&types=geocode&sensor=false&key=AIzaSyCLZfb4gWRRKdrNec5Ep8ZNibJS5BmpNNAマップ内AUTHENCATIONの問題

応答

{ 
"error_message" : "This IP, site or mobile application is not authorized to use this API key. Request received from IP address 117.202.254.4, with empty referer", 
"predictions" : [], 
"status" : "REQUEST_DENIED" 
} 

を私は次のAPIを有効にしています。しかし、まだこのあなたのGoogleマップのAPIキーの作成に問題が Google Places API Web Service Google Maps Android API
Google Maps Directions API
Google Maps Geolocation API
Google Places API for Android

答えて

2

(応答を確認してください)問題に直面します。

あなたのCreateキーはアンドロイドのみですが、このリクエストではWebブラウザ用のキーを作成する必要があります。

またはすべてのキーを作成できます。

ありがとうございました

+0

私はkeyrerction:Noneを設定しますか? – iffu

+0

どのようにキーのWebブラウザを作成するには? – iffu

+0

"None" –

関連する問題