Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting "The provided API key is expired." error on using Places API

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.

like image 494
Android14 Avatar asked Nov 06 '14 19:11

Android14


People also ask

How do I fix expired API key?

Your API key is outdated. Go to Google API console, create a new public API key there and paste it to the "API Key For Your Firebase Dynamic Links Account" field on the plugin's settings page. 2. Your API key is newly created.

What does expired API key mean?

The API key provided by your Connect platform has expired. This occurs if your platform has either generated a new key or the connected account has been disconnected from the platform. Obtain your current API keys from the Dashboard and update your integration, or reach out to the user and reconnect the account.

Why is my API key invalid?

If you have registered your API key in EU domain(. eu) and configured API requests to US domain( .com), and vice versa, you will get "the API key is invalid" error. To resolve this issue, you need to send all your requests to the proper domain (US or EU).


1 Answers

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."

like image 72
Shripad Bhat Avatar answered Sep 19 '22 13:09

Shripad Bhat