Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Contributor Nick Young

    (@nickyoung87)

    Sounds like you entered extra information into the referrer or whitelist or something similar field when creating your API key.

    Make sure you follow these instructions exactly, with no extra and no less: https://docs.simplecalendar.io/google-api-key/

    I got it to work and not break the site now. However I am getting an error becuase of the Referrer Restriction:

    {
     "error": {
      "errors": [
       {
        "domain": "usageLimits",
        "reason": "ipRefererBlocked",
        "message": "The request did not specify any referer. Please ensure that the client is sending referer or use the API Console to remove the referer restrictions.",
        "extendedHelp": "https://console.developers.google.com/apis/credentials?project=647099071761"
       }
      ],
      "code": 403,
      "message": "The request did not specify any referer. Please ensure that the client is sending referer or use the API Console to remove the referer restrictions."
     }
    }
    Plugin Contributor Nick Young

    (@nickyoung87)

    If you are adding a referrer when you create your API key you need to just leave that blank as it doesn’t work with the current version of the plugin. Make sure you follow the API setup exactly how it says with no more and no less: https://docs.simplecalendar.io/google-api-key/

    I followed the directions. The directions say that I can optionally use the restrict referrer option (which I do for all API keys and is proper security measures).

    Plugin Contributor Nick Young

    (@nickyoung87)

    If you remove the referrer do you still get the error? Sorry about that I didn’t realize it said you could use a referrer there, but I think that may be wrong so I would like to confirm with you.

    Thanks

    It works without restricting referrer. From the tutorial: “Optionally, after closing the popup, you can use the edit icon to name your API key and restrict it to specific HTTP referrers (websites).”

    Hello,
    I’m having the exact same issue; OK unless I restrict it to specific HTTP referrers(websites).

    Any update on this please?

    Hello. Please add to bug list/ update instructions. Thanks.

    Plugin Contributor Nick Young

    (@nickyoung87)

    Doc updated.

    You can’t use a referrer link so you will need to remove that to get it working properly.

    Google is not allowing a blank referrer anymore. So, I cannot use your plugin anymore as they shut down any calendar access w/o it.

    Plugin Contributor Nick Young

    (@nickyoung87)

    Are you talking about for API keys?

    Did you follow this guide?

    https://docs.simplecalendar.io/google-api-key/

    Can you please add an referrer option for a future version? Causes of security reasons…

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Referer error’ is closed to new replies.