【发布时间】:2018-04-08 22:51:36
【问题描述】:
使用经销商 API 范围获取“Google_Service_Exception”:
致命错误:未捕获的异常 'Google_Service_Exception' 带有消息 '{ "error": { "errors": [ { "domain": "global", "reason": "insufficientPermissions", "message": "Insufficient Permission" } ], "code": 403, "message": "Insufficient Permission" } } ' 在 C:\xampp\htdocs\customerportal\vendor\google\apiclient\src\Google\Http\REST.php:118 堆栈跟踪: #0 C:\xampp\htdocs\customerportal\vendor\google\apiclient\src\Google\Http\REST.php(94): Google_Http_REST::decodeHttpResponse(Object(GuzzleHttp\Psr7\Response), Object(GuzzleHttp\Psr7\ Request), 'Google_Service_...') #1 [内部函数]: Google_Http_REST::doExecute(Object(GuzzleHttp\Client), Object(GuzzleHttp\Psr7\Request), 'Google_Service_...') #2 C:\ xampp\htdocs\customerportal\vendor\google\apiclient\src\Google\Task\Runner.php(181): call_user_func_array(Array, Array) #3 C:\xampp\htdocs\customerportal\vendor\google\apiclient\src\ Google\Http\REST.php(58): Google_Task_Runner->run() #4 C:\xampp\htdocs\customerportal\vendor\google\apicli ent\src\Goog 在 C:\xampp\htdocs\customerportal\vendor\google\apiclient\src\Google\Http\REST.php 第 118 行
【问题讨论】:
标签: google-api google-reseller-api