Google Apps Script
【GAS】claspの「push」しか使ってないの?「clasp deploy」でWebアプリのデプロイまで自動化できる話
Google Apps Script (GAS) の開発で を使っている人は多いですが、ほとんどの人が で止まっているのではないでしょうか? 実は私自身もそうだったのですが、 コマンドを使うと、「新しいデプロイの作成」と「デプロイIDの取得」までCLIだけで完結できます。……
[GAS] Stop Just Pushing: Automate Web App Releases with ‘clasp deploy’
Many developers use for Google Apps Script (GAS) development, but most stop at . I used to be one of them, until I realized that allows you to create……
【GAS】「Exception: Cannot call SpreadsheetApp.getUi() from this context」エラーの原因と回避策
GAS(Google Apps Script)で自動化を進めていると、よく遭遇するのが 「Exception: Cannot call SpreadsheetApp.getUi() from this context」 というエラーです。……
[GAS] Fix Exception: Cannot call SpreadsheetApp.getUi() from this context
When automating Google Sheets with Google Apps Script (GAS), you may encounter the error “Exception: Cannot call SpreadsheetApp.getUi() from this context.” This……
【GAS】「Exception: Service error: Drive」エラーの原因ランキングと回避策
Google Apps Script (GAS) で DriveApp を操作していると、突然発生する 「Exception: Service error: Drive」。 コードは変えていないのに急に動かなくなったり、特定のファイルだけエラーになったりと、原因が掴みにくい厄介なエラーです。……
[GAS] Fix Exception: Service error: Drive Causes and Solutions
When using in Google Apps Script (GAS), you might suddenly encounter “Exception: Service error: Drive”. It interferes with your script even though you haven’t……
Google Apps Scriptが開けない原因が「リダイレクト」だった話
「Google Apps Scriptが開けない」「画面が真っ白になる」というトラブルに遭遇しました。 よく見ると、ブラウザのアドレスバーがパチパチと切り替わり、最終的にエラー画面が表示されていました。 症状:ページが表…
Google Apps Scriptで「ERR_TOO_MANY_REDIRECTS」が出たときの話
Google Apps Script(GAS)の管理画面を開こうとしたところ、以下のエラーが表示されてアクセスできない現象に遭遇しました。 このページは動作していません script.google.com でリダイレクト…
Google Apps Scriptで「Exceeded maximum execution time」が出る原因と対処法|実務ログベース解説
Google Apps Script(GAS)を使っていると、ある日突然、トリガー実行の失敗通知とともに次のエラーに遭遇することがあります。 このエラーは一見すると「処理が重すぎる」「コードが悪い」と思われがちですが、実…
How to Fix “Exceeded maximum execution time” in Google Apps Script: A Real-World Guide
The error message “Exceeded maximum execution time” appears when a Google Apps Script execution exceeds the pl…