Calendar not sending referrer – API keys restricted by HTTP referrer not working
-
Calendar is public
Calendar ID is correct
API key set up correctly with HTTP referrer restriction e.g.
*.sitename.org.uk/*Generates the following error:
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” } } Please ensure that both your Google Calendar ID and API Key are valid and that the Google Calendar you want to display is public.
Removing the HTTP referrer restriction immediately makes the calendar work – however this is obviously not ideal. How can we get the calendar plugin to identify itself with the referrer correctly? It appears that the referrer is <empty>.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Calendar not sending referrer – API keys restricted by HTTP referrer not working’ is closed to new replies.