|
Error
- Agenda: Bad call to list events. Check Google API Key or Calendar Address.
exception 'Google_Service_Exception' with message 'Error calling GET https://www.googleapis.com/calendar/v3/calendars/foundationschool.org_lgotisahhs53ddcj4dih42m59g%40group.calendar.google.com/events?orderBy=startTime&singleEvents=true&timeMin=2023-09-23T00%3A00%3A00-04%3A00&timeMax=2024-03-23T00%3A00%3A00-04%3A00&maxResults=30&timeZone=America%2FNew_York&key=AIzaSyCBI5-ZVh5rVjch7ZoO2C2y71e3dhDc2lw: (403) The provided API key has an IP address restriction. The originating IP address of the call (146.190.210.120) violates this restriction.' in /var/www/foundation/sites/all/libraries/google-api-php-client/src/Google/Http/REST.php:83
Stack trace:
#0 /var/www/foundation/sites/all/libraries/google-api-php-client/src/Google/Http/REST.php(41): Google_Http_REST::decodeHttpResponse(Object(Google_Http_Request), Object(Google_Client))
#1 /var/www/foundation/sites/all/libraries/google-api-php-client/src/Google/Client.php(564): Google_Http_REST::execute(Object(Google_Client), Object(Google_Http_Request))
#2 /var/www/foundation/sites/all/libraries/google-api-php-client/src/Google/Service/Resource.php(227): Google_Client->execute(Object(Google_Http_Request))
#3 /var/www/foundation/sites/all/libraries/google-api-php-client/src/Google/Service/Calendar.php(1561): Google_Service_Resource->call('list', Array, 'Google_Service_...')
#4 /var/www/foundation/sites/all/modules/agenda/agenda.module(458): Google_Service_Calendar_Events_Resource->listEvents('foundationschoo...', Array)
#5 /var/www/foundation/sites/all/modules/agenda/agenda.module(278): _agenda_load_google('foundationschoo...', 'public', Object(stdClass))
#6 /var/www/foundation/sites/all/modules/agenda/agenda.module(175): agenda_get_events(Object(stdClass))
#7 /var/www/foundation/sites/all/modules/agenda/agenda.module(124): agenda_display_block('2')
#8 [internal function]: agenda_block_view('2')
#9 /var/www/foundation/includes/module.inc(934): call_user_func_array('agenda_block_vi...', Array)
#10 /var/www/foundation/modules/block/block.module(910): module_invoke('agenda', 'block_view', '2')
#11 /var/www/foundation/modules/block/block.module(689): _block_render_blocks(Array)
#12 /var/www/foundation/modules/block/block.module(318): block_list('sidebar_second')
#13 /var/www/foundation/modules/block/block.module(270): block_get_blocks_by_region('sidebar_second')
#14 /var/www/foundation/includes/common.inc(5978): block_page_build(Array)
#15 /var/www/foundation/includes/common.inc(2782): drupal_render_page(Array)
#16 /var/www/foundation/includes/common.inc(2655): drupal_deliver_html_page(Array)
#17 /var/www/foundation/includes/menu.inc(542): drupal_deliver_page(Array, '')
#18 /var/www/foundation/index.php(21): menu_execute_active_handler()
#19 {main}
|
|