Title: Referer error
Last modified: December 30, 2016

---

# Referer error

 *  Resolved [jgordonwalker](https://wordpress.org/support/users/jgordonwalker/)
 * (@jgordonwalker)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/referer-error/)
 * I installed the plugin and, already having an API key, I activated the Calendar
   API. However, when attaching our public calendar I get this error message
 * Error calling GET [https://www.googleapis.com/calendar/v3/calendars/j9si2ihrl0d8mavqgtja9k45tg%40group.calendar.google.com/events?singleEvents=true&maxResults=2500&timeZone=UTC&timeMin=2016-12-01T00%3A00%3A00%2B00%3A00&timeMax=2017-12-29T23%3A59%3A59%2B00%3A00&key=*****](https://www.googleapis.com/calendar/v3/calendars/j9si2ihrl0d8mavqgtja9k45tg%40group.calendar.google.com/events?singleEvents=true&maxResults=2500&timeZone=UTC&timeMin=2016-12-01T00%3A00%3A00%2B00%3A00&timeMax=2017-12-29T23%3A59%3A59%2B00%3A00&key=*****):(
   403) 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.
 * Can you help me resolve this issue, please?

Viewing 12 replies - 1 through 12 (of 12 total)

 *  Plugin Contributor [Nick Young](https://wordpress.org/support/users/nickyoung87/)
 * (@nickyoung87)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/referer-error/#post-8626520)
 * 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/](https://docs.simplecalendar.io/google-api-key/)
 *  [mycustomsoftware](https://wordpress.org/support/users/mycustomsoftware/)
 * (@mycustomsoftware)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/referer-error/#post-8735973)
 * 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](https://wordpress.org/support/users/nickyoung87/)
 * (@nickyoung87)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/referer-error/#post-8736237)
 * 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/](https://docs.simplecalendar.io/google-api-key/)
 *  [mycustomsoftware](https://wordpress.org/support/users/mycustomsoftware/)
 * (@mycustomsoftware)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/referer-error/#post-8736384)
 * 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](https://wordpress.org/support/users/nickyoung87/)
 * (@nickyoung87)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/referer-error/#post-8736413)
 * 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
 *  [mycustomsoftware](https://wordpress.org/support/users/mycustomsoftware/)
 * (@mycustomsoftware)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/referer-error/#post-8736418)
 * 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).”
 *  [sonofspectrum](https://wordpress.org/support/users/sonofspectrum/)
 * (@sonofspectrum)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/referer-error/#post-8752536)
 * Hello,
    I’m having the exact same issue; OK unless I restrict it to specific 
   HTTP referrers(websites).
 * Any update on this please?
    -  This reply was modified 9 years, 3 months ago by [sonofspectrum](https://wordpress.org/support/users/sonofspectrum/).
 *  [sonofspectrum](https://wordpress.org/support/users/sonofspectrum/)
 * (@sonofspectrum)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/referer-error/#post-8797133)
 * Hello. Please add to bug list/ update instructions. Thanks.
 *  Plugin Contributor [Nick Young](https://wordpress.org/support/users/nickyoung87/)
 * (@nickyoung87)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/referer-error/#post-8809008)
 * Doc updated.
 * You can’t use a referrer link so you will need to remove that to get it working
   properly.
 *  [scottmun](https://wordpress.org/support/users/scottmun/)
 * (@scottmun)
 * [9 years ago](https://wordpress.org/support/topic/referer-error/#post-9132810)
 * 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](https://wordpress.org/support/users/nickyoung87/)
 * (@nickyoung87)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/referer-error/#post-9168380)
 * Are you talking about for API keys?
 * Did you follow this guide?
 * [https://docs.simplecalendar.io/google-api-key/](https://docs.simplecalendar.io/google-api-key/)
 *  [suddenh4x](https://wordpress.org/support/users/suddenh4x/)
 * (@suddenh4x)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/referer-error/#post-9244755)
 * 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.

 * ![](https://ps.w.org/google-calendar-events/assets/icon-256x256.png?rev=1263960)
 * [Simple Calendar - Google Calendar Plugin](https://wordpress.org/plugins/google-calendar-events/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-calendar-events/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-calendar-events/)
 * [Active Topics](https://wordpress.org/support/plugin/google-calendar-events/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-calendar-events/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-calendar-events/reviews/)

 * 12 replies
 * 6 participants
 * Last reply from: [suddenh4x](https://wordpress.org/support/users/suddenh4x/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/referer-error/#post-9244755)
 * Status: resolved