Bill Trikojus
Bill Trikojus

Reputation: 39

how to stop a google apps script - have already revoked permissions

I ran the Drive Migrator script to try to move some files between 2 google accounts. It failed and kept sending me error emails, so I tried to turn it off by by revoking the Drive Migrator permissions inside my google account settings. Now I get a different email every day, saying that Drive Migrator failed to run because it requires authorization, so it is still running somewhere but I can't find any reference to it in my google account settings. The error email contains a link where I am supposed to be able to configure triggers for the script, but the link just loads a "Forbidden Error 403" page. Thanks

Upvotes: 2

Views: 1090

Answers (3)

Thieme Hennis
Thieme Hennis

Reputation: 575

I went to the respective script and just added /* and */

/*

script here

*/

Upvotes: 0

Vytautas
Vytautas

Reputation: 2286

Open Google Apps Script (can be any script). Remove any triggers that fire the migrator. Revoking the permissions would only cause an error message to be sent out, as the script will try to run due to the trigger. It tries to get through the oAuth and fails, causing you to receive the error.

A trigger is the only thing you need the script to attempt to run. Authorization is needed to actually perform some of the tasks in the script. Heck, some scripts can be run automatically with no authorization whatsoever. Always get rid of any triggers you no longer need.

Upvotes: 1

Sujay Phadke
Sujay Phadke

Reputation: 2196

Try this:

Go here: https://security.google.com/settings/security/permissions

Scroll down and select "Drive Migrator" then select "Remove".

(It was mentioned in the app reviews)

Upvotes: 0

Related Questions