简体   繁体   English

通过转销商API范围获取“ Google_Service_Exception”

[英]Getting 'Google_Service_Exception' using with reseller api scope

Getting 'Google_Service_Exception' using the reseller API scope: 使用转销商API范围获取“ Google_Service_Exception”:

Fatal error: Uncaught exception 'Google_Service_Exception' with message '{ "error": { "errors": [ { "domain": "global", "reason": "insufficientPermissions", "message": "Insufficient Permission" } ], "code": 403, "message": "Insufficient Permission" } } ' in C:\\xampp\\htdocs\\customerportal\\vendor\\google\\apiclient\\src\\Google\\Http\\REST.php:118 Stack trace: #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 [internal function]: 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\\apiclient 致命错误:未捕获的异常'Google_Service_Exception',消息为'{“ error”:{“ errors”:[{“ domain”:“ global”,“ reason”:“ insufficientPermissions”,“ message”:“权限不足”}], “代码”:403,“消息”:“权限不足”}}'在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 \\ apiclient \\src\\Goog in C:\\xampp\\htdocs\\customerportal\\vendor\\google\\apiclient\\src\\Google\\Http\\REST.php on line 118 \\ src \\ Goog在C:\\ xampp \\ htdocs \\ customerportal \\ vendor \\ google \\ apiclient \\ src \\ Google \\ Http \\ REST.php在第118行

Follow the Reseller API: Authorizing guide on how to authorize your requests. 遵循转销商API:授权指南,了解如何授权您的请求。 Follow the steps indicated and don't forget the scope, https://www.googleapis.com/auth/apps.order . 请按照指示的步骤操作,不要忘记范围https://www.googleapis.com/auth/apps.order

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 google cloud api上的错误 - 未捕获的异常'Google_Service_Exception' - Errors on google cloud api - Uncaught exception 'Google_Service_Exception' 未捕获到Google_Service_Exception错误500 - Google_Service_Exception error 500 not caught 访问Google_Service_Exception中的属性时出现问题 - Issue with accessing property in Google_Service_Exception 刷新的Google API无法获取文件列表驱动器。 Google_Service_Exception(Err 400) - Refreshed Google API does not get file list form drive. Google_Service_Exception (Err 400) 在Google云端硬盘上上传文件的新版本时,Google_Service_Exception:fieldNotWritable - Google_Service_Exception: fieldNotWritable when uploading a new version of the file on Google Drive 如何在Google Apps转销商API中使用nextPageToken? - How to use nextPageToken in Google Apps Reseller API? 无法使用Google Reseller API遍历Json响应中的页面 - Cannot loop through pages from Json response using Google Reseller API 使用Google API目录服务的范围是什么 - What is the Scope for using Google API Directory Services Google API-使用服务目录 - Google API - using the Service Directory 参加者在使用服务帐户,Google Calendar API创建活动时未获得会议邀请 - Attendee not getting meeting invite on creating event using service account, google calendar API
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM