When authorizing a Google Apps Script (GAS) project or another Google OAuth app, you may no longer see the old and flow. Instead, you might now get a screen…
Tag Archives: GAS
GASの承認画面が変わった?「Google hasn’t verified this app」「currently being tested」と出る理由
Google Apps Script(GAS)や Google OAuth を使ったツールを承認しようとしたとき、以前は や が出ていたのに、最近は次のような画面が出ることがあります。 > Google hasn’t verified this app > You’ve been given access to an…
TikTok広告通知はApp申請してGASで実装するのが一番早かった話
TikTok広告の数値を毎朝Slackに通知したくて、実装方針を整理しました。 いろいろ試した結論として、 を正攻法で申請し、 からエンドポイントを叩く構成にしています。 前提: やりたいことはシンプル 欲しいのは次の3つだけです。 – 昨日のキャンペーン別 – キャンペーン通算の消化額 -…
【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…
Exception: Service error: Drive in Google Apps Script — Causes, Patterns, and Practical Fixes

When working with Google Apps Script (GAS), especially in scripts that interact heavily with Google Drive, youContinue reading “Exception: Service error: Drive in Google Apps Script — Causes, Patterns, and Practical Fixes”
GASエラー:「Exception: Service error: Drive」とは何が起きている状態か

Google Apps Script(GAS)で DriveApp や SpreadsheetApp を使った処理をしていると、次のようなエラーが突然出ることがあります。 Exception: Service errorContinue reading “GASエラー:「Exception: Service error: Drive」とは何が起きている状態か”
Google Apps Scriptで「We’re sorry, a server error occurred. Please wait a bit and try again.」が出る原因と対処法

Google Apps Script(GAS)を実行した際、実行ログに以下のようなエラーが表示され、処理が止まってしまうことがあります。 場合によっては、同時に TypeError: Cannot read properContinue reading “Google Apps Scriptで「We’re sorry, a server error occurred. Please wait a bit and try again.」が出る原因と対処法”