DriveAPIでIdの取得中にエラーが発生する

425 views
Skip to first unread message

Keito Y

unread,
Feb 2, 2021, 5:52:16 PM2/2/21
to Google Apps API Japan
makeCopyにて作成、取得したファイルを直後にDriveApp.getFileByIdを使用して、Idを取得しようとしているのですが、下記のエラー文が発せられ取得できません。

Exception: Unexpected error while getting the method or property getFileById on object DriveApp.

他の場面でも同様の処理をしているのですが、一部だけ使用できないという状態です。
エラーの回避方法があればお願いします。
Reply all
Reply to author
Forward
0 new messages