Title: Google Api Blocking Permission
Last modified: December 8, 2023

---

# Google Api Blocking Permission

 *  [estar69](https://wordpress.org/support/users/estar69/)
 * (@estar69)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/google-api-blocking-permission/)
 * I have been trying for almost a day to get this plugin to work, I have added 
   the correct API Key and Calendar ID, I have setup the API referrer http for websites
   with multiple variations of the site url but I still just get this error.
 *     ```wp-block-code
       While trying to retrieve events, Google returned an error:{
         "error": {
           "code": 403,
           "message": "Requests from referer \u003cempty\u003e are blocked.",
           "errors": [
             {
               "message": "Requests from referer \u003cempty\u003e are blocked.",
               "domain": "global",
               "reason": "forbidden"
             }
           ],
           "status": "PERMISSION_DENIED",
           "details": [
             {
               "@type": "type.googleapis.com/google.rpc.ErrorInfo",
               "reason": "API_KEY_HTTP_REFERRER_BLOCKED",
               "domain": "googleapis.com",
               "metadata": {
                 "service": "calendar-json.googleapis.com",
                 "consumer": "projects/258349141063"
               }
             }
           ]
         }
       }
       Please ensure that both your Google Calendar ID and API Key are valid and that the Google Calendar you want to display is public.Only you can see this notice.
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgoogle-api-blocking-permission%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Support [john](https://wordpress.org/support/users/johnweru/)
 * (@johnweru)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/google-api-blocking-permission/#post-17262636)
 * Hi there,
 * Thanks for reaching out to us.
 * With respect to your query here, I can actually see that the calendar is rendered
   within the link that you shared. The list calendar does actually seem to render
   the events. Could I perhaps be missing out on something here?
 * I look forward to your reply.
 * Kind Regards

Viewing 1 replies (of 1 total)

The topic ‘Google Api Blocking Permission’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [john](https://wordpress.org/support/users/johnweru/)
 * Last activity: [2 years, 6 months ago](https://wordpress.org/support/topic/google-api-blocking-permission/#post-17262636)
 * Status: not resolved