S
S
Sergey Sokolov2021-02-26 13:09:03
Google Apps Script
Sergey Sokolov, 2021-02-26 13:09:03

Why does Google Apps Script require authorization again and again?

Telegram bot based on Google Spreadsheet and GAS used to work fine.
Through the bot, you can search the table and write new rows.
You can upload photos that are saved on my Google Drive.

At the end of 2020, Google began to take into account its resources more strictly and had to create a Project in the Google Cloud Platform for this case and specify its id in the script settings.
Since then, the authorization that I give this project to access my Sheets and Drive has become short-lived and flies in either an hour or a day. Because of this, it becomes impossible to use the bot.

screenshots

6038c8922c84b019471032.png

6038c89c87453694862765.png

6038c8a439017068191255.png

Script settings:
6038c9649aa13783585659.png

In the overview of permissions granted by my account, I see this script:
6038ca012b12f223981271.png

The script is deployed as a web application:
60620c6e92071399769045.png

Runs on behalf of my account and is available to everyone:
60620c7b979fb615320320.png

What needs to be done so that the permissions that I give to this script / project do not fly off?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question