Search code examples
calendargcal

The JSON URL has returned: 403 Forbidden


I have a calendar feed that updates from Google Calendar using a JSON URL. I followed the instructions from http://mikeclaffey.com/google-calendar-into-html/. The upcoming events stopped showing up recently.

I tried other Google Calendars but none work. I tested it out at http://victoriasawyer.com/amosTheTransparent with a static JSON file (borrowed from Mike Claffey) and it works fine.

I pasted the URL into a JSON formatter to see if I could create a static file but this is when it returns the error message "The JSON URL has returned: 403 Forbidden."

I have no idea what the problem is (other than that it seems to lie within the URL). Any help with this will be greatly appreciated.

Thanks!


Solution

  • http://googleappsupdates.blogspot.com/2014/06/calendar-gdata-api-google-calendar.html

    Back in November 2011, we announced the deprecation of the Calendar GData API (v1, v2) when the APIv3 was made available. We’ll now be shutting down these older versions on November 17, 2014.

    Use the V.3 API

    https://developers.google.com/google-apps/calendar/