Reputation: 113
I recently generated a new Server API key using the Google API Console, for use with the Places API. I'm interested in using the Details API Call, and it worked as expected during my first request. Every subsequent request, however, has yielded this error:
{
"error_message" : "The provided API key is expired.",
"html_attributions" : [],
"status" : "REQUEST_DENIED"
}
The key is definitely not expired, since it was issued only minutes before and had worked just fine a few seconds ago. I've tried issuing new keys, but the result is always the same: works once, then never again. Any ideas? Thanks in advance.
Upvotes: 11
Views: 10674
Reputation: 430
Figure out problem in android Do this in google developer console:
Create key for browser applications not for android application
Enable: Google Places API Web Service
Wait for approx 10 min till it approves
Sha key should be same
Note: Please check sha key as well they must be same on developer console as well as android app.
Upvotes: 12
Reputation: 359
Try to go on APIs & Auth menu > API > Places and the push "enable".
Upvotes: 0