3
我花了2天的時間使用服務帳戶混淆了各種Drive API教程。invalid_grant使用服務帳戶和Google Drive API返回
我最近使用的教程是這樣一個:https://developers.google.com/drive/delegation
我不斷收到試圖上傳一個文件時,這個錯誤:
ProtocolException was unhandled
Error occurred while sending a direct message or getting the response.
我安裝Fiddler並確定當POST /o/oauth2/token
正在恢復:
{
"error:"invalid_grant"
}
我已經三重+檢查了我的應用程序的範圍。
我在做什麼錯?
我的服務器只關閉了大約一分鐘,它是拋出這些錯誤。我安裝了NTP服務,現在一切都很好。 :) – 2013-06-04 14:41:53