I get an error "The OAuth identity of this script has been deleted or disabled. This may be due to a Terms of Service violation" whenever I try to execute a script that gives me daily updates from my calendar into a spreadsheet.
I have searched for solutions and found this
Thread that suggests "The solution: - open the script - click Resources > Cloud Platform project - click on the bound project" and then I will be able to accept the new TOS.
When I look at my menus, "Resources" only gives me dropdowns for Libraries and Advanced Google Services. This is a script and isn't tied to a Cloud project.
What would you suggest I do to overcome this issue? (For reference, I believe the issue started appearing in April 2018).
Related
I made a new google sheet with a simple script that does an external call with UrlFetchApp.
However, when I try to run or test the code, it says authorization required. App needs permission. I then click on review permissions, followed by clicking on my Gmail account.
Sign in with Google temporarily disabled for this app
This app has not been verified yet by Google in order to use Google Sign In.
Any advice on how to resolve this? Why is this showing up for my own unpublished unfinished code?
Reasons
Making external calls is a sensitive scope. If by any chance you tried to authorize from any (reauthorizations count as well) account 100 times (see user cap help page) throughout the development process, you will not be able to proceed.
That is usually the primary reason for this screen, but sometimes you get locked even if the project is new (for example, for some G Suite accounts). If that happens, in my experience the only way to fix it is by going through the review.
There is also a thread on the issue tracker if cannot resolve it with methods listed below.
Finally, take a look at related Q&As:
"Sign in with Google temporarily disabled for this app" error when trying to authorize a script
How can I bypass "Sign in with Google temporarily disabled for this app" in a Google Sheets script?
How to fix
Switch the Google Cloud Platform Project to a new standard one. This will reset the counter.
Create a new bound script from a new Google Sheets spreadsheet (this works the same as switching GCP, as a default cloud project is assigned to the script project).
Go through the OAuth verification process. Don't worry, it is not that long and only requires a video of how you use the scopes.
I'm attempting to use a script in a google sheet I've used in the past, and suddenly while trying to make a new sheet with this code, I'm getting a new error that is seemingly impossible to bypass.
"Sign in with Google temporarily disabled for this app
This app has not been verified yet by Google in order to use Google Sign In."
Normally, or at least every time I have used this script in the past, there has been an "advanced" and "continue anyway" option.
"This app isn't verified yet
"Advanced > Continue to Untitled Project (Unsafe)"
This is the code.gs script [gitlab link], how can I bypass this saftey check, and continue using this script as needed?
And for reference, these are the instructions for the whole project on git lab,
Unfortunately, there's no direct solution for the issue you are encountering.
According to the issue from Issue Tracker, the error you are encountering may be due to this cause:
an external user runs the script with sensitive scopes
A possible solution:
run the script from Incognito Mode and remove the project's permissions from myaccount.google.com/permissions
Ultimately, if this still doesn't solve your issue you can star the issue on Issue Tracker here.
I am using paid google suite. Have created a google sheet and a script to be used with that sheet that uses Language.translate.
I am trying to run the script but it says
"Service invoked too many times for one day: translate".
How can I solve this problem. Paying for the service is no problem. Just need clean instructions.
Thanks in advance.
I haven't done this myself, but I believe you have to open the Google Cloud Platform project associated with your script (Resources > Cloud Platform project), enable the Translate API there and setup a billing account for this project.
I'm not sure if the Apps Script built-in Translate API interface, LanguageApp will work out of the box with this setup or if you'll have to switch to manual UrlFetch invocation of the API. My guess is that the built-in will work, but it isn't hard to switch either.
Anyways, your calls to Translate API should then be enabled and cost $20 per 1 million characters translated.
I am getting this error when I run a script from Google Apps Script:
The OAuth identity of this script has been deleted or disabled. This may be due to a Terms of Service violation.
I have deleted and recreated the project and it works for a while but then the error re-occurs. I have also checked the bound project but there are no new Terms of Service agreements for me to acknowledge/accept (tried all the proposed solutions to this question).
Is there any way to get more details on what could be causing this issue or any other suggestions?
I am getting 'Access not configured. Please use Google Developers Console to activate the API for your project' message.
I followed the guidance in the Google Developers Console documentation. I selected the 'Advanced Google Services' submenu under 'Resources' menu. I turned on the Google Tasks API and copied the API key from the Developers Console and pasted it into the 'Advanced Google Services' dialog and clicked OK.
I typed the example code from 'List task list' on the 'Tasks Service' page. The code autocompleted and saved fine. However when I ran the script I got the 'Access not configured' message. I went to the developers console and the Tasks API appears to be OFF. I do not seem to be able to turn it ON. Do I have to have an OAuth2 API key as well?
I apologise for having to ask for help as the documentation is good but I am confused as to what to do now.
Michael
Problem solved.
I re-read the documentation to do with enabling an API. I upgraded my script to use the new authorisation flow and then it created a new project ID in the developers console. I was able to turn on the Tasks API and the script is working.
Sorry for the trouble.
Michael