簡體   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