Getting "OAuth authentication of this script error is invalid" in googleapps- script

There is still nothing to say. I tried to find what it means, but cannot find it. The script works fine for several months and stopped 12 hours ago without any changes. A manual check shows this error.

+6
source share
3 answers

I had the same problem, and I just clicked the Run button from the Script editor, and then requested authorization to run.

As soon as I resolved Script, the error no longer appeared.

+3
source

I found that you need to completely recreate the script project.

I had this problem in a script hosted in a spreadsheet. It only used the Mail and Spreadsheet services and happened randomly after zero changes for several months. I tried just to write the text, and it didn’t even work.

+1
source

I was lucky - I just made coffee, and when I tried the script again, it worked.

+1
source

Source: https://habr.com/ru/post/973932/


All Articles