Hi,
That probably means you don’t have an API key set in the Google console (https://console.developers.google.com/).
Best,
Michiel
Hi,
I do have an API Key set in the Google console. Please advise if there are specific settings under the API Key I need to check. (I have used 2 different API Keys and both return same error.)
Thank you
Some things that can be the cause:
– Maybe you have set restrictions to the key?
– You have used the API key for other requests as well and you have exceeded the limit
You can see how many times this key is used in the Google console (on the page of the API key) and in the dashboard you can see how much traffic there is.
I don’t think it’s a use factor. I created the API yesterday.
I will do some more research on the setting the restrictions for the key. If that does not work, I think I have found another way to pull in the needed calendar without using the plugin.
Thank you
Did you also add the key to the plugin settings page (in Settings / Private Google Calendars and the add the key to the “API key” textfield in the “Public calendar settings” section)?
Yes, I did.
What restrictions should I review for the key?
You have 2 restrictions:
– App restrictions
– API restrictions
You can set them both to no-restriction.
But I don’t think the restriction is the cause. I have seen this “Rate limit exceeded” message only when I forgot to add my API key or pasted it into the settings page with an error.
I had the same message and changed the application and API restrictions in my google project API & Services to none and don’t restrict keys. Afther that the message was gone and the calendar was loaded.
-
This reply was modified 6 years ago by
tiemen55.
Hi @tiemen55 thanks for letting us know your solution!
I had the same error… but I did not have to lift restrictions to fix it. Instead, I added one. Under website restrictions I only had the URL ending with ‘wp-admin/options-general.php?page=pgc’ which gives API permission to the plugin’s settings. I simply added my home page as a second item under Website restrictions and so the PAGE that is accessing the calendar also has permission. I hope this helps!