Why does my apps script deployed as API executable return Permission Denied?

前端 未结 6 904
感情败类
感情败类 2020-11-27 18:29

I created a script in the script editor, published it as a \"Deploy as API executable\". Inside this script, I provided a doc_id to my sheet and defined a function to get da

6条回答
  •  执念已碎
    2020-11-27 19:22

    Make sure the app script is associated with correct dev console project.

    The script should be associated with the dev console project id that corresponds with OAuth 2.0 client ID used (this dev console project should also have "Apps Script Execution API" enabled).

    To change the developer console project for an app script select the following menu item: Resources > Developer Console Project...

    On this screen enter the project number for your dev console.

提交回复
热议问题