2017-06-22 58 views
0

我的Request-URI中工作正常OAuthPlayGround但我的代碼給我一個錯誤與異常com.google.api.client .auth.oauth2.TokenResponseException:401未經授權。訪問谷歌雲端硬盤API拋出com.google.api.client.auth.oauth2.TokenResponseException:401

enter image description here

我已經檢查了OAuthPlayGround的「請求」,它給了我這個響應, enter image description here

但試圖執行它時日食,我仍面臨401錯誤。

任何幫助,將不勝感激。提前致謝。

回答

0

401意味着要傳遞的訪問令牌是無效的。您需要檢查並調試您的代碼,以查看Access Token設置的內容。

相關問題