【问题标题】:Getting 'Google_Service_Exception' using with reseller api scope使用经销商 api 范围获取“Google_Service_Exception”
【发布时间】: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


    【解决方案1】:

    按照Reseller API: Authorizing 指南了解如何授权您的请求。 按照指示的步骤进行操作,不要忘记范围,https://www.googleapis.com/auth/apps.order

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2012-02-26
      • 1970-01-01
      • 2016-08-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多