繁体   English   中英

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

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

使用转销商API范围获取“ Google_Service_Exception”:

致命错误:未捕获的异常'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在C:\\ xampp \\ htdocs \\ customerportal \\ vendor \\ google \\ apiclient \\ src \\ Google \\ Http \\ REST.php在第118行

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

暂无
暂无

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM