문제

The Google geocoding API used to work fine for me but I tried it again today and I keep getting

{
   "error_message" : "The provided API key is invalid.",
   "results" : [],
   "status" : "REQUEST_DENIED"
}

When I get the URL https://maps.googleapis.com/maps/api/geocode/json?address=New%20York&sensor=false&key=MY_KEY. I've generated this (server) key just a few minutes ago so I see no particular reason why it would be invalid. Does anyone have any experience with something similar?

도움이 되었습니까?

해결책

Update 2013-02-25: API keys are now supported with the Geocoding API, so this API call should now succeed, once the Geocoding API service is turned on, in the Google Developers Console. Previously, it was required to remove the API key.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top