Google\Service\Exception [ 400 ]: { "error": { "code": 400, "message": "Request contains an invalid argument.", "errors": [ { "message": "Request contains an invalid argument.", "domain": "global", "reason": "badRequest" } ], "status": "INVALID_ARGUMENT", "details": [ { "@type": "type.googleapis.com/google.mybusiness.v4.ValidationError", "errorDetails": [ { "message": "This API will soon be deprecated. Please migrate all the usages to My Business Account Management API - https://developers.google.com/my-business/reference/accountmanagement/rest" } ] } ] } }

DOCROOT/vendor/google/apiclient/src/Http/REST.php [ 128 ]

123     if (intVal($code) >= 400) {
124       // if we errored out, it should be safe to grab the response body
125       $body = (string) $response->getBody();
126 
127       // Check if we received errors, and add those to the Exception for convenience
128       throw new GoogleServiceException($body, $code, null, self::getResponseErrors($body));
129     }
130 
131     // Ensure we only pull the entire body into memory if the request is not
132     // of media type
133     $body = self::decodeBody($response, $request);
  1. DOCROOT/vendor/google/apiclient/src/Http/REST.php [ 103 ] » Google\Http\REST::decodeHttpResponse()

  2. {PHP internal call} » Google\Http\REST::doExecute()

  3. DOCROOT/vendor/google/apiclient/src/Task/Runner.php [ 182 ] » call_user_func_array()

  4. DOCROOT/vendor/google/apiclient/src/Http/REST.php [ 66 ] » Google\Task\Runner->run()

  5. DOCROOT/vendor/google/apiclient/src/Client.php [ 898 ] » Google\Http\REST::execute()

  6. DOCROOT/vendor/google/apiclient/src/Service/Resource.php [ 238 ] » Google\Client->execute()

  7. DOCROOT/vendor/spotonlive/php-google-my-business/MyBusiness.php [ 1256 ] » Google\Service\Resource->call()

  8. APPPATH/views/widget/grid.php [ 57 ] » Google_Service_MyBusiness_Accounts_Resource->listAccounts()

  9. SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)

  10. SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture()

  11. SYSPATH/classes/Kohana/View.php [ 236 ] » Kohana_View->render()

  12. SYSPATH/classes/Kohana/Response.php [ 169 ] » Kohana_View->__toString()

  13. APPPATH/classes/Controller/Template/InServioPartners.php [ 80 ] » Kohana_Response->body()

  14. SYSPATH/classes/Kohana/Controller.php [ 87 ] » Controller_Template_InServioPartners->after()

  15. {PHP internal call} » Kohana_Controller->execute()

  16. SYSPATH/classes/Kohana/Request/Client/Internal.php [ 94 ] » ReflectionMethod->invoke()

  17. SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request()

  18. SYSPATH/classes/Kohana/Request.php [ 1000 ] » Kohana_Request_Client->execute()

  19. DOCROOT/httpdocs/index.php [ 118 ] » Kohana_Request->execute()

Environment