質問編集履歴
3
記載していた参考サイトが間違っていたので修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -27,7 +27,7 @@
|
|
27
27
|
```error
|
28
28
|
SpreadsheetApp.getActiveSheet を呼び出す権限がありません。必要な権限: (https://www.googleapis.com/auth/spreadsheets.currentonly || https://www.googleapis.com/auth/spreadsheets)(行 2、ファイル「コード」、プロジェクト「テスト」)
|
29
29
|
```
|
30
|
-
そこで,[GAS
|
30
|
+
そこで,[【GAS】「SpreadsheetApp.create を呼び出す権限がありません」を解決する](https://cipepser.hatenablog.com/entry/gas-auth-error)
|
31
31
|
を参考にappsscript.jsonに以下のように記述し, 保存を試みたところ以下の構文エラーが出ました.
|
32
32
|
```appsscript.json
|
33
33
|
{
|
2
水平線により文字が大きくなってしまったのを修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -46,6 +46,7 @@
|
|
46
46
|
Unexpected character ('"' (code 34)): was expecting comma to separate Object entries at [Source: (String)"{ "timeZone":
|
47
47
|
```
|
48
48
|
どうしたら解決できるでしょうか. よろしくお願い致します。
|
49
|
+
|
49
50
|
---
|
50
51
|
追記
|
51
52
|
|
1
修正後のエラー文の追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -45,4 +45,11 @@
|
|
45
45
|
```error
|
46
46
|
Unexpected character ('"' (code 34)): was expecting comma to separate Object entries at [Source: (String)"{ "timeZone":
|
47
47
|
```
|
48
|
-
どうしたら解決できるでしょうか. よろしくお願い致します。
|
48
|
+
どうしたら解決できるでしょうか. よろしくお願い致します。
|
49
|
+
---
|
50
|
+
追記
|
51
|
+
|
52
|
+
maisumakun様の回答の通りコンマを追加したところ以下のエラーが出ました.
|
53
|
+
```error
|
54
|
+
Unexpected character ('}' (code 125)): was expecting double-quote to start field name at [Source: (String)"{ "timeZone":
|
55
|
+
```
|