此IP,站點或移動應用程序無權使用此API密鑰我使用https://maps.googleapis.com/maps/api/geocode/json?鏈接服務器密鑰和用戶IP以查找任何地址的緯度和經度,當我嘗試時,我發(fā)現(xiàn)錯誤為我有一個來自谷歌的服務器訪問密鑰,我已將我的服務器的IP地址放在他們的白名單中。我試圖通過PHP CURL訪問的URL是:https://maps.googleapis.com/maps/api/geocode/json?address=1600+Amphitheatre+Parkway,+Mountain+View,+CA&sensor=true&key=XXXXXXXXXXXX結果我得到:Array ([error_message] => This IP, site or mobile application is not authorized to use this API key. [results] => Array ( ) [status] => REQUEST_DENIED)我需要配置什么。地理編碼API也已打開。
此IP,站點或移動應用程序無權使用此API密鑰
哈士奇WWW
2019-08-27 17:08:57