Error message

  • 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/th83pl9fhuj32g0b4vn4cglnhk%40group.calendar.google.com/events?orderBy=startTime&singleEvents=true&timeMin=2015-04-25T00%3A00%3A00-07%3A00&timeMax=2015-06-26T00%3A00%3A00-07%3A00&maxResults=25&timeZone=America%2FPhoenix&key=AIzaSyClzxi0Moj5wIUjw0m2sjufsLKLF5Z2V-E: (403) There is a per-IP or per-Referer restriction configured on your API key and the request does not match these restrictions. Please use the Google Developers Console to update your API key configuration if request from this IP or referer should be allowed.' in /var/www/drupal/sites7/all/libraries/google-api-php-client/src/Google/Http/REST.php:83
    Stack trace:
    #0 /var/www/drupal/sites7/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/drupal/sites7/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/drupal/sites7/all/libraries/google-api-php-client/src/Google/Service/Resource.php(227): Google_Client->execute(Object(Google_Http_Request))
    #3 /var/www/drupal/sites7/all/libraries/google-api-php-client/src/Google/Service/Calendar.php(1561): Google_Service_Resource->call('list', Array, 'Google_Service_...')
    #4 /var/www/drupal/sites7/cals.arizona.edu.herbarium/modules/contrib/agenda/agenda.module(498): Google_Service_Calendar_Events_Resource->listEvents('th83pl9fhuj32g0...', Array)
    #5 /var/www/drupal/sites7/cals.arizona.edu.herbarium/modules/contrib/agenda/agenda.module(316): _agenda_load_google('th83pl9fhuj32g0...', 'public', Object(stdClass))
    #6 /var/www/drupal/sites7/cals.arizona.edu.herbarium/modules/contrib/agenda/agenda.module(213): agenda_get_events(Object(stdClass))
    #7 /var/www/drupal/sites7/cals.arizona.edu.herbarium/modules/contrib/agenda/agenda.module(160): agenda_display_block('2')
    #8 [internal function]: agenda_block_view('2')
    #9 /var/www/drupal/drupal-7.36/includes/module.inc(866): call_user_func_array('agenda_block_vi...', Array)
    #10 /var/www/drupal/drupal-7.36/modules/block/block.module(905): module_invoke('agenda', 'block_view', '2')
    #11 /var/www/drupal/drupal-7.36/modules/block/block.module(686): _block_render_blocks(Array)
    #12 /var/www/drupal/drupal-7.36/modules/block/block.module(318): block_list('sidebar_second')
    #13 /var/www/drupal/drupal-7.36/modules/block/block.module(268): block_get_blocks_by_region('sidebar_second')
    #14 /var/www/drupal/drupal-7.36/includes/common.inc(5836): block_page_build(Array)
    #15 /var/www/drupal/drupal-7.36/includes/common.inc(2723): drupal_render_page(Array)
    #16 /var/www/drupal/drupal-7.36/includes/common.inc(2605): drupal_deliver_html_page(Array)
    #17 /var/www/drupal/drupal-7.36/includes/menu.inc(534): drupal_deliver_page(Array, '')
    #18 /var/www/drupal/drupal-7.36/index.php(21): menu_execute_active_handler()
    #19 {main}
saljdhf