Conversation
supportHello, I added a google calendar list under “upcoming events” on this page and it was working fine before. However the list is suddenly gone since last week and I can’t figure out why. Would be grateful if i could get some help. the short code that was working before but not now: [gc_list_view start_date=”” end_date=”+1 months” date_format=”d F – ” orderbysort=”ascending” g_id=”8c2k92t9quon5tkt2dvchloahg@group.calendar.google.com” g_api_key=”AIzaSyAr_cYk4v0lJAbAOUdXjmLQeyJdIv9I7Pk” max_view=10 max_display=”” html_tag=”li” html_tag_class=”” id=”” hook_secret_key=”” lang=”” enable_view_category=”” g_id_1=”32696o2cog7e2tbgq7l90s48sg@group.calendar.google.com” g_api_key_1=”AIzaSyAr_cYk4v0lJAbAOUdXjmLQeyJdIv9I7Pk” g_id_2=”je538cm84dq4fp44v8emf80ktg@group.calendar.google.com” g_api_key_2=”AIzaSyAr_cYk4v0lJAbAOUdXjmLQeyJdIv9I7Pk” g_id_3=”rlqi4u7hnp0635je36ram40goo@group.calendar.google.com” g_api_key_2=”AIzaSyAr_cYk4v0lJAbAOUdXjmLQeyJdIv9I7Pk” view_location=””] The page I need help with: [ log in to see the link]
Firstly, please try the simple code. ex 1. Test up each Google Calendar (No. 1-4) [gc_list_view g_id=”8c2k92t9quon5tkt2dvchloahg@group.calendar.google.com” g_api_key=”AIzaSyAr_cYk4v0lJAbAOUdXjmLQeyJdIv9I7Pk” max_view=10 html_tag=”li”] [gc_list_view g_id=”32696o2cog7e2tbgq7l90s48sg@group.calendar.google.com” g_api_key=”AIzaSyAr_cYk4v0lJAbAOUdXjmLQeyJdIv9I7Pk” max_view=10 html_tag=”li”] … ex 2. If there is no problem on one Google Calendar, test up “end_date” option. [gc_list_view g_id=”8c2k92t9quon5tkt2dvchloahg@group.calendar.google.com” g_api_key=”AIzaSyAr_cYk4v0lJAbAOUdXjmLQeyJdIv9I7Pk” end_date=”+1 months” max_view=10 html_tag=”li”] At least, it seem to need the “g_api_key_3” option for “g_id_3” option.
Then, it seems to block to acccess from the Google API. ex. Access URL for Google Calendar 1 (g_id=”8c2k92t9quon5tkt2dvchloahg@group.calendar.google.com”, g_api_key=”AIzaSyAr_cYk4v0lJAbAOUdXjmLQeyJdIv9I7Pk”) is https://www.googleapis.com/calendar/v3/calendars/8c2k92t9quon5tkt2dvchloahg@group.calendar.google.com/events?key=AIzaSyAr_cYk4v0lJAbAOUdXjmLQeyJdIv9I7Pk&singleEvents=true&orderBy=startTime&maxResults=10&timeMin=2020-12-29T00%3A00%3A00%2B09%3A00&timeMax=2021-01-29T00%3A00%3A00%2B09%3A00 . When I access above URL, “status” is “PERMISSION_DENIED”. Maybe, the issue is regarding the scope of Google API Key Please try to “None” setting “Application restrictions.” on API Key (Google Developer Console).
Firstly, please try the simple code. ex 1. Test up each Google Calendar (No. 1-4) [gc_list_view g_id=”8c2k92t9quon5tkt2dvchloahg@group.calendar.google.com” g_api_key=”AIzaSyAr_cYk4v0lJAbAOUdXjmLQeyJdIv9I7Pk” max_view=10 html_tag=”li”] [gc_list_view g_id=”32696o2cog7e2tbgq7l90s48sg@group.calendar.google.com” g_api_key=”AIzaSyAr_cYk4v0lJAbAOUdXjmLQeyJdIv9I7Pk” max_view=10 html_tag=”li”] … ex 2. If there is no problem on one Google Calendar, test up “end_date” option. [gc_list_view g_id=”8c2k92t9quon5tkt2dvchloahg@group.calendar.google.com” g_api_key=”AIzaSyAr_cYk4v0lJAbAOUdXjmLQeyJdIv9I7Pk” end_date=”+1 months” max_view=10 html_tag=”li”] At least, it seem to need the “g_api_key_3” option for “g_id_3” option.
Then, it seems to block to acccess from the Google API. ex. Access URL for Google Calendar 1 (g_id=”8c2k92t9quon5tkt2dvchloahg@group.calendar.google.com”, g_api_key=”AIzaSyAr_cYk4v0lJAbAOUdXjmLQeyJdIv9I7Pk”) is https://www.googleapis.com/calendar/v3/calendars/8c2k92t9quon5tkt2dvchloahg@group.calendar.google.com/events?key=AIzaSyAr_cYk4v0lJAbAOUdXjmLQeyJdIv9I7Pk&singleEvents=true&orderBy=startTime&maxResults=10&timeMin=2020-12-29T00%3A00%3A00%2B09%3A00&timeMax=2021-01-29T00%3A00%3A00%2B09%3A00 . When I access above URL, “status” is “PERMISSION_DENIED”. Maybe, the issue is regarding the scope of Google API Key Please try to “None” setting “Application restrictions.” on API Key (Google Developer Console).