エラー対処ガイド

エラー対処ガイド

最終更新
Feb 2, 2025 9:43 AM
タグ

不明なエラーが発生した場合は、GASSISTANTコミュニティにてお知らせください🤲

実行権限がありません。GAS側でコードを実行し、権限を承認してください。

Gmail送信やスプレッドシート書き込みなどの処理がコードに含まれる場合、権限の承認が必要です。

GASエディタを開き、実行ボタンを押します。

image

User has not enabled the Apps Script API.

image
User has not enabled the Apps Script API. Enable it by visiting https://script.google.com/home/usersettings then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.

エラーメッセージの通り、 https://script.google.com/home/usersettings にアクセスしてGAS APIを有効にしてください。

スプレッドシートIDの取得に失敗しました

設定したスクリプトIDがログインしたGoogleアカウントで利用できない場合に発生するエラーです。

GASやスプレッドシートを所有するGoogleアカウントでログインしていることを確認してください。

ANYONE access has been disabled by your domain administrator.

組織の管理者によって、Webアプリの公開が制限されています。

少なくとも“ANYONE Access”が制限されています。

管理者に連絡するか、”デバッグせずに実行モード”を使用してください。