2

drive.comments.list 返回在应用程序脚本文件中找不到的文件。

Drive.files.get 成功获取此文件:

Files.get 成功。

GET https://www.googleapis.com/drive/v2/files/1mRd1rNjih8iiMAATstEyr3A6KBpkRZaiTpFa5gLM1G70Yd9F9sXi5d2R?key={YOUR_API_KEY}

200 OK

Comments.list 失败。

GET https://www.googleapis.com/drive/v2/files/1mRd1rNjih8iiMAATstEyr3A6KBpkRZaiTpFa5gLM1G70Yd9F9sXi5d2R/comments?key={YOUR_API_KEY}



404 Not Found

- Show headers -

{
 "error": {
  "errors": [
   {
    "domain": "global",
    "reason": "notFound",
    "message": "File not found: 1mRd1rNjih8iiMAATstEyr3A6KBpkRZaiTpFa5gLM1G70Yd9F9sXi5d2R"
   }
  ],
  "code": 404,
  "message": "File not found: 1mRd1rNjih8iiMAATstEyr3A6KBpkRZaiTpFa5gLM1G70Yd9F9sXi5d2R"
 }
}
4

0 回答 0