質問編集履歴
1
追加の修正です。
title
CHANGED
File without changes
|
body
CHANGED
@@ -16,4 +16,11 @@
|
|
16
16
|
];
|
17
17
|
sheet.addMenu("スクリプト実行", entries);
|
18
18
|
};
|
19
|
-
```
|
19
|
+
```
|
20
|
+
|
21
|
+
この処理の箇所で間違いがあったと思ってたんですけど、
|
22
|
+
スプレットシートの方を更新すると、SpreadsheetApp.openByIdを呼び出す権限がないと言われていました。
|
23
|
+
実行に失敗: SpreadsheetApp.openById を呼び出す権限がありません。必要な権限: https://www.googleapis.com/auth/spreadsheets
|
24
|
+
そのため、appsscript.jsonに
|
25
|
+
"oauthScopes": ["https://www.googleapis.com/auth/spreadsheets.currentonly", "https://www.googleapis.com/auth/spreadsheets"]
|
26
|
+
を追加しましたが、直りません。
|