Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting a "The OAuth identity of this script is invalid" error in a googleapps-script

There's not much more to be said. I've tried searching for what this means, but can't find it. The script has been running fine for a few months and stopped 12 hours ago with no changes made to it. A manual run shows this error.

like image 483
Yash Capoor Avatar asked Aug 17 '14 14:08

Yash Capoor


Video Answer


2 Answers

I had the same issue and I just clicked Run from the Script Editor and then requested the authorization to run.

Once I authorized the script the error didnt appear anymore.

like image 192
Javier Ramirez Avatar answered Nov 10 '22 13:11

Javier Ramirez


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

like image 23
Michael Avatar answered Nov 10 '22 13:11

Michael