Getting “The provided API key is expired.” error o

2020-06-30 09:15发布

问题:

I have generated Server key from Google console for Places API key. But whenever i am hitting the service i am getting " The provided API key is expired " error.

I have tried regenerating the key but still got same error.

回答1:

I have faced same issue... But finally got resolved. Google place services will take 10 minutes to make the services available for new API KEY created. Services will start working after 10 minutes, till then we get error as "The provided API key is expired."



回答2:

You have to activate the access in services in Google console by going to APIs then activate Places API



回答3:

Make sure, your key is present in google play console or not. I had the same problem but when I checked my key on google place it was not there. It might be deleted by me by mistake or Google had deleted that key due to some reason. But by creating new key and I checked after 10 minute it is working.



回答4:

ExpiredKeyMapError Error

The API key included in the script element that loads the API has expired or is not recognized by the system. You may receive this error after creating a new API key if you try to use the key before it is recognized by the system. Wait a few minutes and try again, or you may need to generate a new API key in the Google Cloud Platform Console.