Welcome to Pinecones

Error message

  • Agenda: Bad call to list events. Check Google API Key or Calendar Address.
  • Google_Service_Exception: {
      "error": {
        "code": 400,
        "message": "API key not valid. Please pass a valid API key.",
        "errors": [
          {
            "message": "API key not valid. Please pass a valid API key.",
            "domain": "global",
            "reason": "badRequest"
          }
        ],
        "status": "INVALID_ARGUMENT",
        "details": [
          {
            "@type": "type.googleapis.com/google.rpc.ErrorInfo",
            "reason": "API_KEY_INVALID",
            "domain": "googleapis.com",
            "metadata": {
              "service": "calendar-json.googleapis.com"
            }
          }
        ]
      }
    }
     in /home/rmschool/www/www/drupal/sites/all/libraries/google-api-php-client/src/Google/Http/REST.php:118
    Stack trace:
    #0 /home/rmschool/www/www/drupal/sites/all/libraries/google-api-php-client/src/Google/Http/REST.php(94): Google_Http_REST::decodeHttpResponse(Object(GuzzleHttp\Psr7\Response), Object(GuzzleHttp\Psr7\Request), 'Google_Service_...')
    #1 /home/rmschool/www/www/drupal/sites/all/libraries/google-api-php-client/src/Google/Task/Runner.php(181): Google_Http_REST::doExecute(Object(GuzzleHttp\Client), Object(GuzzleHttp\Psr7\Request), 'Google_Service_...')
    #2 /home/rmschool/www/www/drupal/sites/all/libraries/google-api-php-client/src/Google/Http/REST.php(58): Google_Task_Runner->run()
    #3 /home/rmschool/www/www/drupal/sites/all/libraries/google-api-php-client/src/Google/Client.php(781): Google_Http_REST::execute(Object(GuzzleHttp\Client), Object(GuzzleHttp\Psr7\Request), 'Google_Service_...', Array)
    #4 /home/rmschool/www/www/drupal/sites/all/libraries/google-api-php-client/src/Google/Service/Resource.php(232): Google_Client->execute(Object(GuzzleHttp\Psr7\Request), 'Google_Service_...')
    #5 /home/rmschool/www/www/drupal/sites/all/libraries/google-api-php-client/vendor/google/apiclient-services/src/Google/Service/Calendar/Resource/Events.php(247): Google_Service_Resource->call('list', Array, 'Google_Service_...')
    #6 /home/rmschool/www/www/drupal/sites/all/modules/agenda/agenda.module(498): Google_Service_Calendar_Resource_Events->listEvents('rmschool.org_bn...', Array)
    #7 /home/rmschool/www/www/drupal/sites/all/modules/agenda/agenda.module(316): _agenda_load_google('rmschool.org_bn...', 'public', Object(stdClass))
    #8 /home/rmschool/www/www/drupal/sites/all/modules/agenda/agenda.module(213): agenda_get_events(Object(stdClass))
    #9 /home/rmschool/www/www/drupal/sites/all/modules/agenda/agenda.module(160): agenda_display_block('7')
    #10 /home/rmschool/www/www/drupal/includes/module.inc(934): agenda_block_view('7')
    #11 /home/rmschool/www/www/drupal/modules/block/block.module(910): module_invoke('agenda', 'block_view', '7')
    #12 /home/rmschool/www/www/drupal/modules/block/block.module(689): _block_render_blocks(Array)
    #13 /home/rmschool/www/www/drupal/modules/block/block.module(318): block_list('right_sidebar')
    #14 /home/rmschool/www/www/drupal/modules/block/block.module(270): block_get_blocks_by_region('right_sidebar')
    #15 /home/rmschool/www/www/drupal/includes/common.inc(5969): block_page_build(Array)
    #16 /home/rmschool/www/www/drupal/includes/common.inc(2775): drupal_render_page(Array)
    #17 /home/rmschool/www/www/drupal/includes/common.inc(2648): drupal_deliver_html_page(Array)
    #18 /home/rmschool/www/www/drupal/includes/menu.inc(542): drupal_deliver_page(Array, '')
    #19 /home/rmschool/www/www/drupal/index.php(21): menu_execute_active_handler()
    #20 {main}
  • Agenda: Bad call to list events. Check Google API Key or Calendar Address.
  • Google_Service_Exception: {
      "error": {
        "code": 400,
        "message": "API key not valid. Please pass a valid API key.",
        "errors": [
          {
            "message": "API key not valid. Please pass a valid API key.",
            "domain": "global",
            "reason": "badRequest"
          }
        ],
        "status": "INVALID_ARGUMENT",
        "details": [
          {
            "@type": "type.googleapis.com/google.rpc.ErrorInfo",
            "reason": "API_KEY_INVALID",
            "domain": "googleapis.com",
            "metadata": {
              "service": "calendar-json.googleapis.com"
            }
          }
        ]
      }
    }
     in /home/rmschool/www/www/drupal/sites/all/libraries/google-api-php-client/src/Google/Http/REST.php:118
    Stack trace:
    #0 /home/rmschool/www/www/drupal/sites/all/libraries/google-api-php-client/src/Google/Http/REST.php(94): Google_Http_REST::decodeHttpResponse(Object(GuzzleHttp\Psr7\Response), Object(GuzzleHttp\Psr7\Request), 'Google_Service_...')
    #1 /home/rmschool/www/www/drupal/sites/all/libraries/google-api-php-client/src/Google/Task/Runner.php(181): Google_Http_REST::doExecute(Object(GuzzleHttp\Client), Object(GuzzleHttp\Psr7\Request), 'Google_Service_...')
    #2 /home/rmschool/www/www/drupal/sites/all/libraries/google-api-php-client/src/Google/Http/REST.php(58): Google_Task_Runner->run()
    #3 /home/rmschool/www/www/drupal/sites/all/libraries/google-api-php-client/src/Google/Client.php(781): Google_Http_REST::execute(Object(GuzzleHttp\Client), Object(GuzzleHttp\Psr7\Request), 'Google_Service_...', Array)
    #4 /home/rmschool/www/www/drupal/sites/all/libraries/google-api-php-client/src/Google/Service/Resource.php(232): Google_Client->execute(Object(GuzzleHttp\Psr7\Request), 'Google_Service_...')
    #5 /home/rmschool/www/www/drupal/sites/all/libraries/google-api-php-client/vendor/google/apiclient-services/src/Google/Service/Calendar/Resource/Events.php(247): Google_Service_Resource->call('list', Array, 'Google_Service_...')
    #6 /home/rmschool/www/www/drupal/sites/all/modules/agenda/agenda.module(498): Google_Service_Calendar_Resource_Events->listEvents('rmschool.org_b5...', Array)
    #7 /home/rmschool/www/www/drupal/sites/all/modules/agenda/agenda.module(316): _agenda_load_google('rmschool.org_b5...', 'public', Object(stdClass))
    #8 /home/rmschool/www/www/drupal/sites/all/modules/agenda/agenda.module(213): agenda_get_events(Object(stdClass))
    #9 /home/rmschool/www/www/drupal/sites/all/modules/agenda/agenda.module(160): agenda_display_block('7')
    #10 /home/rmschool/www/www/drupal/includes/module.inc(934): agenda_block_view('7')
    #11 /home/rmschool/www/www/drupal/modules/block/block.module(910): module_invoke('agenda', 'block_view', '7')
    #12 /home/rmschool/www/www/drupal/modules/block/block.module(689): _block_render_blocks(Array)
    #13 /home/rmschool/www/www/drupal/modules/block/block.module(318): block_list('right_sidebar')
    #14 /home/rmschool/www/www/drupal/modules/block/block.module(270): block_get_blocks_by_region('right_sidebar')
    #15 /home/rmschool/www/www/drupal/includes/common.inc(5969): block_page_build(Array)
    #16 /home/rmschool/www/www/drupal/includes/common.inc(2775): drupal_render_page(Array)
    #17 /home/rmschool/www/www/drupal/includes/common.inc(2648): drupal_deliver_html_page(Array)
    #18 /home/rmschool/www/www/drupal/includes/menu.inc(542): drupal_deliver_page(Array, '')
    #19 /home/rmschool/www/www/drupal/index.php(21): menu_execute_active_handler()
    #20 {main}

Pinecones Staff

Melissa Martinez-Miland Sarah Dennis  
Guide: Melissa [email] [bio] Assistant: Sally [email] [bio] Assistant: Sarah [email] [bio]  
Go to top