突然,gdrive命令行工具停止工作,并且总是给出以下错误消息:
Failed to get about: Get https://www.googleapis.com/drive/v3/about?alt=json&fields=maxImportSizes%2CmaxUploadSize%2CstorageQuota%2Cuser: oauth2: cannot fetch token: 400 Bad Request
Response: {
"error": "invalid_grant",
"error_description": "Bad Request"
}
Run Code Online (Sandbox Code Playgroud)
设法通过重新触发gcloud授权来解决此问题:
gcloud auth application-default login
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
17191 次 |
| 最近记录: |