• Resolved michellemt

    (@michellemt)


    Installed the plugin and added the public calendar ID, selected it in the left side menu and a red error box shows in the top left of calendar. “Rate Limit Exceeded.”

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author michielve

    (@michielve)

    Hi,
    That probably means you don’t have an API key set in the Google console (https://console.developers.google.com/).
    Best,
    Michiel

    Thread Starter michellemt

    (@michellemt)

    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

    Plugin Author michielve

    (@michielve)

    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.

    Thread Starter michellemt

    (@michellemt)

    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

    Plugin Author michielve

    (@michielve)

    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)?

    Thread Starter michellemt

    (@michellemt)

    Yes, I did.

    What restrictions should I review for the key?

    Plugin Author michielve

    (@michielve)

    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 4 years, 9 months ago by tiemen55.
    Plugin Author michielve

    (@michielve)

    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!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Red error box “Rate limit exceeded”’ is closed to new replies.