OAuth Error - script deleted or disabled

Viewed 5662

"The OAuth identity of this script has been deleted or disabled. This may be due to a Terms of Service violation."

I run a google script on a google sheet which notifies other users at my organization that I have uploaded the google sheet information to our database. This script suddenly stopped working and threw up the error quoted at the top of this post. As far as I know, there were no recent changes to the ownership of relevant files/folders. Please help! I need this script in my everday work.

3 Answers

I had faced the same issue recently and solved the same as follows -

  1. Go to https://console.cloud.google.com.
  2. Create a new project (or select an existing one) and note the "Project number".
  3. Open the Script > Click Resources > Cloud Platform project
  4. Change Project using the "Project number" noted above.
Related