Status Update
Comments
ja...@google.com <ja...@google.com> #2
Thanks for your report. Unfortunately I cannot reproduce the issue. This message can appear when an external user runs an App or Script with sensitive scopes. Please try to log in from Chrome's Incognito Mode and try again. Also, remove the project's permissions from
Cheers!
se...@gmail.com <se...@gmail.com> #3
It's one sensitive scope that I have authorized in another script on the same account.
I tried Icognito and it's the same issue.
The project has no permissions on myaccount page because I can't grant any...
ja...@google.com <ja...@google.com> #4
se...@gmail.com <se...@gmail.com> #5
It's just creating a new project in the G Suit Developer Hub; can also navigate to it by pressing the "Start Scripting" button here
Which auto creates a new project.
I can reproduce this on all new scripts on my account. If I create a new account it seems to work fine.
ja...@google.com <ja...@google.com> #7
1- Open the script in Incognito Mode
2- Press Ctrl+Shift+i and the developer console will show up
3- Reproduce the error
4- In the developer console, click on the Export HAR button (🡇) at the right-top corner.
5- Reply to this thread adding the file as an attachment
or...@gmail.com <or...@gmail.com> #8
st...@gmail.com <st...@gmail.com> #9
I also face the issue, step to reproduce :
1. Create a new script file
2. Copy this code :
function myFunction() {
var url = '
var req = UrlFetchApp.fetch(url);
Logger.log(req.getResponseCode())
}
3. Run the myFunction() function
4. Then you get the pop up error
See error print screen attached.
Stéphane
st...@gmail.com <st...@gmail.com> #11
Stéphane
sw...@gmail.com <sw...@gmail.com> #12
Shan
ma...@eset.com <ma...@eset.com> #13
ja...@google.com <ja...@google.com> #14
se...@gmail.com <se...@gmail.com> #15
gi...@oogstonline.nl <gi...@oogstonline.nl> #16
aj...@googlemail.com <aj...@googlemail.com> #17
sh...@seatplan.com <sh...@seatplan.com> #18
All old scripts with URLFetchApp work fine. Any new ones give this authentication problem. Incognito or using other browsers does not help.
As far as I am aware - authentication should only be needed when others are using your published app? But not when the account of the creator is testing and developing?
Previously this has always worked fine for me.
df...@gmail.com <df...@gmail.com> #19
my script works perfectly in 3 different accounts but not in mine!
ba...@gmail.com <ba...@gmail.com> #20
My goal is to open a doc template, copy it, populate from the sheet that contains the script.
This problem did not exist the last time i wrote a script about 2 weeks ago. Old scripts that were previously authenticated and running are still fine.
EDIT: I created a new google account, shared the folder with my new account, and ran the script from the new account. The authorization went as expected and i can run the scripts from the dummy account. HOWEVER, I still can;t run them from my original account because it still tries to authorize and then gives "Sign in temporarily disabled for this App" error.
st...@gmail.com <st...@gmail.com> #21
so...@telenor.com <so...@telenor.com> #22
sh...@seatplan.com <sh...@seatplan.com> #23
There is an increased level of complexity with it, but there is also a huge wealth of additional possibilities. It is something I've been meaning to spend some time on investigating for a while, but I'm glad this bug blocking me on Google Scripts forced me into it.
As long as you do not need something to run in Sheets etc it may be worth investigating if you're in a similar position to me and your scripts can be platform agnostic. Lambda is part of AWS's always free version, you are able to edit scripts simply in a web interface and you can code in Node.js which is not disimalar to the setup in Google Scripts.
Hopefully that information is helpful to anyone in a similar situation who has the time to investigate a move!
ha...@gmail.com <ha...@gmail.com> #24
( my scripts works perfectly with all accounts without subscription plan)
ga...@gmail.com <ga...@gmail.com> #25
This is a regular gmail account. This issue does not happen on G Suite accounts.
[Deleted User] <[Deleted User]> #26
Any script that requires authorization, no matter how simple, will fail with the message:
"Sign in with Google temporarily disabled for this app
This app has not yet been verified by Google in order to use Google Sign in."
As an example, running these 2 snippets in the editor will have the following results:
this one runs:
function foo() {
var bar = 1;
}
this does not:
function foo() {
var bar = 1;
var ss = SpreadsheetApp.openByUrl(url);
}
Creating new projects does not resolve the issue.
so...@telenor.com <so...@telenor.com> #27
ba...@gmail.com <ba...@gmail.com> #28
Hopefully this still gets fixed soon, but a new account was a decent workaround the worked for me.
la...@gmail.com <la...@gmail.com> #29
I have a spreadsheet with an Apps script. I used to duplicate the spreadsheet whenever I do any modifications to it. But I didn't duplicate recently since the file was not modified. Everything was fine. But several days ago, I had to duplicate it. But this time I can't run the function in the script. Stops with this security error.
FYI: I have a normal consumer Google account.
mk...@gmail.com <mk...@gmail.com> #30
I just created a simple google apps script on Google Sheet..
I'm the owner of the script. Could you help me please?
I have a normal consumer Google account.
ma...@gmail.com <ma...@gmail.com> #31
ma...@gmail.com <ma...@gmail.com> #32
ta...@mediacom.com <ta...@mediacom.com> #33
St...@etxcapital.com <St...@etxcapital.com> #34
la...@gmail.com <la...@gmail.com> #35
prompted to to pick the user account and after that it complained with a
security message. But I was able to get it through after clicking on
'Advanced' link and then 'Procced...' link
On Tue, Jan 21, 2020 at 9:27 PM <buganizer-system@google.com> wrote:
[Deleted User] <[Deleted User]> #36
My scripts can now be authorized again. (tested with the
tk...@gmail.com <tk...@gmail.com> #37
sh...@seatplan.com <sh...@seatplan.com> #38
aj...@googlemail.com <aj...@googlemail.com> #39
so...@telenor.com <so...@telenor.com> #40
mi...@valkdigital.nl <mi...@valkdigital.nl> #41
Using a Google account without gmail.
Trying to run a basic macro recoring in a new sheet and playing it back.
This is my script:
function myFunction() {
var spreadsheet = SpreadsheetApp.getActive();
spreadsheet.getRange('H5').activate();
spreadsheet.getCurrentCell().setValue('sdf');
spreadsheet.getRange('H6').activate();
spreadsheet.getCurrentCell().setValue('sdf');
spreadsheet.getRange('H7').activate();
}
Console is showing this:
1901224078-waffle_js_prod_core.js:4906 [Deprecation] Application Cache API use is deprecated and will be removed in M82, around April 2020. See
Lbd @ 1901224078-waffle_js_prod_core.js:4906
edit:1 A cookie associated with a cross-site resource at
edit:1 A cookie associated with a resource at
2445743232-waffle_js_prod_ritzmaestro.js:89 Google Apps Script: Authorization is required to perform that action.
edit#gid=0:1 A cookie associated with a cross-site resource at
2445743232-waffle_js_prod_ritzmaestro.js:89 Google Apps Script: Authorization is required to perform that action.
ma...@telenor.com <ma...@telenor.com> #42
ma...@gmail.com <ma...@gmail.com> #44
kp...@gmail.com <kp...@gmail.com> #45
so...@telenor.com <so...@telenor.com> #46
ju...@gmail.com <ju...@gmail.com> #47
th...@gmail.com <th...@gmail.com> #48
That has happened for 3 weeks and still not resolved.
The script works with other accounts.
sr...@gmail.com <sr...@gmail.com> #49
I tried creating a script in another account, still no luck.
Its been 15days and we are not able to get it to work, please resolve.
ic...@gmail.com <ic...@gmail.com> #50
sh...@gmail.com <sh...@gmail.com> #51
mi...@gmail.com <mi...@gmail.com> #52
ic...@gmail.com <ic...@gmail.com> #53
al...@alsjohnstone.com <al...@alsjohnstone.com> #54
da...@icrossing.co.uk <da...@icrossing.co.uk> #55
si...@gmail.com <si...@gmail.com> #56
ih...@gmail.com <ih...@gmail.com> #57
fr...@sodimac.cl <fr...@sodimac.cl> #58
fr...@sodimac.cl <fr...@sodimac.cl> #59
so...@telenor.com <so...@telenor.com> #61
1) i can confirm that it also does effect "business" accounts such as mine.
2) Yes, I was able to run an older script
3) Yes
ek...@google.com <ek...@google.com> #62
4) Does it happens regardless of the scopes used? For instance, what if you just call UrlFetchApp and nothing else?
ve...@icrossing.co.uk <ve...@icrossing.co.uk> #63
2) Yes scripts already authorized seem to run fine.
3) Yes
4) Yes (see attached)
we...@tomahawk.nl <we...@tomahawk.nl> #64
ek...@google.com <ek...@google.com> #65
5) When you click "Resources > Cloud platform project", does the dialog say it's an Apps Script-managed project?
6) When you go through the OAuth flow, you should hit a URL like "
so...@telenor.com <so...@telenor.com> #66
Cloud Platform project
This script has an Apps Script–managed Cloud Platform project.
Here's the Client ID from the URL in the authorization
client_id=
ma...@eset.com <ma...@eset.com> #67
2) The problem only happens for new scripts? - Yes. Scripts that have been authorized in the past can be run.
3) The problem happens for every new script? - Yes
4) Does it happens regardless of the scopes used? For instance, what if you just call UrlFetchApp and nothing else? - It happens regardless of the scopes used.
5) When you click "Resources > Cloud platform project", does the dialog say it's an Apps Script-managed project? - Yes
6) client_id=
da...@icrossing.co.uk <da...@icrossing.co.uk> #68
ja...@popken-services.de <ja...@popken-services.de> #69
j....@beslist.nl <j....@beslist.nl> #70
ja...@gmail.com <ja...@gmail.com> #71
[Deleted User] <[Deleted User]> #72
ma...@eset.com <ma...@eset.com> #73
ek...@google.com <ek...@google.com> #76
You'll need to do this for each script, which we realize isn't ideal. Let us know if that approach works.
da...@icrossing.co.uk <da...@icrossing.co.uk> #77
Thanks!
da...@gmail.com <da...@gmail.com> #78
ma...@eset.com <ma...@eset.com> #79
pe...@gmail.com <pe...@gmail.com> #80
To be clear of the bug: Owner of the google sheet is person A. Owner of the script project is person B. Both A and B are assigned admins of course! However, only person B is allowed to use the script.
fe...@gmail.com <fe...@gmail.com> #81
ne...@gmail.com <ne...@gmail.com> #82
dm...@gmail.com <dm...@gmail.com> #83
be...@gmail.com <be...@gmail.com> #84
lq...@gmail.com <lq...@gmail.com> #85
hy...@gmail.com <hy...@gmail.com> #86
an...@gmail.com <an...@gmail.com> #87
kp...@gmail.com <kp...@gmail.com> #88
Google, are you kidding me? Development with Apps Script is broken! What's wrong with you
[Deleted User] <[Deleted User]> #89
This issue should have a higher priority.
pe...@gmail.com <pe...@gmail.com> #90
published on the app store... we can't freely use it amongst our own
admin's and google sheets owners.. so bad google, so bad.
*Peter Peng, P.Eng.*
647 588 6623
LucasCreatives.com | Calendly <
On Wed, Apr 22, 2020 at 6:18 AM <buganizer-system@google.com> wrote:
da...@gmail.com <da...@gmail.com> #91
I understand that this solution won't work for all cases, but using the
// @OnlyCurrentDoc
scope in the document will allow the script to run. I tried getting permissions, deleting the comment, and running again, but the authorization failed. I also recognize that this won't work for a lot of scripts, but it might keep you afloat until there is an actual solution.
kp...@gmail.com <kp...@gmail.com> #92
This stops working as soon as you add changes to your code that requires any new permission. Kind of add to weirdness of this bug.
I understand that this solution won't work for all cases, but using the
// @OnlyCurrentDoc
scope in the document will allow the script to run.
ro...@gmail.com <ro...@gmail.com> #93
se...@gmail.com <se...@gmail.com> #94
pe...@gmail.com <pe...@gmail.com> #95
did not work for me
da...@gmail.com <da...@gmail.com> #96
won't work. But if it's self-contained, it seems to work (at least for me).
In the Spirit of Learning,
Dave Ghidiu
On Sun, May 3, 2020, 17:32 <buganizer-system@google.com> wrote:
hu...@gmail.com <hu...@gmail.com> #97
Please just let my own spreadsheet run my own code. 🤷♂
pe...@gmail.com <pe...@gmail.com> #98
// @OnlyCurrentDoc
/**
* @OnlyCurrentDoc
*/
//________________
//GLOBALS
//________________
var ui = SpreadsheetApp.getUi();
var ss = SpreadsheetApp.getActiveSpreadsheet(); //get the spreadsheet
var tab = SpreadsheetApp.getActiveSheet(); //get active tab
var selected = tab.getSelection(); //returns a Selection,,, but it can be
non-adjacent... weird!
var selectedRange = selected.getActiveRange();
Also deleted my 1 line of code that uses getURL().
Still doesn't work.
Now if I have to switch to a standard project just for some private scripts
I guess I have no choice lol. Ouch. Missing VBA!
On Sun, May 3, 2020 at 5:46 PM <buganizer-system@google.com> wrote:
aj...@gmail.com <aj...@gmail.com> #99
se...@gmail.com <se...@gmail.com> #100
se...@gmail.com <se...@gmail.com> #101
1) The problem only happens for consumer (@
Yes, but not all, for me only the one which happens to have a Google One membership.
2) The problem only happens for new scripts?
Sorry don't know
3) The problem happens for every new script?
No, only the ones containing requests outside the Spreadsheet Service and Script Service it would seem.
4) Does it happens regardless of the scopes used? For instance, what if you just call UrlFetchApp and nothing else?
I tried removing various chunks of codes, and only worked when I removed all the external requests using these scopes:
It works as normal if only containing these scopes:
5) When you click "Resources > Cloud platform project", does the dialog say it's an Apps Script-managed project?
It says: "This script has an Apps Script-managed Cloud Platform project."
6) When you go through the OAuth flow, you should hit a URL like "
The client ID is
I also noticed the subsequent url beginning
pe...@gmail.com <pe...@gmail.com> #102
Sent from my iPhone
jg...@gmail.com <jg...@gmail.com> #103
to...@gmail.com <to...@gmail.com> #104
im...@gmail.com <im...@gmail.com> #105
se...@gmail.com <se...@gmail.com> #106
se...@gmail.com <se...@gmail.com> #107
st...@gmail.com <st...@gmail.com> #108
Stéphane
la...@gmail.com <la...@gmail.com> #109
And I faced the same problem.
In my Google Apps Script, I create a script, and try to `debug` it, then I just grant it with my promission, but after I relogin with grant, it failed. And the page doesn't have any advanced button.
Maybe I am not the only one who faced this issue.
ro...@gmail.com <ro...@gmail.com> #110
Consumer GMail account, struggling with AppScript written in the Script Editor from a Google Sheets document.
I tried to extend my own existing script to use "DriveApp.getFolderById".
Next time I triggered a function, I got challenged to (re-)authorize the script.
Fine. But...
Now, when I "Continue" from the "Auth Required" screen to the list of accounts, and I pick my one (the only option), I get the "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".
I have set up a separate GMail account and sent it a link to my spreadsheet-and-script, and that account can authorize it and run functions without problem.
I have also created a copy of a known-good (I can currently run it) version of the spreadsheet-and-script in my own account, and my own account CANNOT authorize it, even though it can still run functions in an identical sheet.
So it looks like my problem is nothing to do with the actual script I'm trying to run, but with my account no longer being unable to authorize anything.
co...@gmail.com <co...@gmail.com> #111
ro...@gmail.com <ro...@gmail.com> #112
This problem seriously undermines the value of Google Docs.
An innocuous change to the app I am developing has locked me out of any kind of google Docs extension.
Meaning that if I were using it for anything important, I'd be up a creek without a paddle.
So if someone says to me "I'm thinking of X with Google Docs", what do you think I'll say?
pe...@gmail.com <pe...@gmail.com> #113
Sent from my iPhone
si...@gmail.com <si...@gmail.com> #115
no...@gmail.com <no...@gmail.com> #116
ro...@gmail.com <ro...@gmail.com> #117
BUT... I wanted to remind myself of exactly what the error message was.
So I used my "real" google account to try to open the spreadsheet created by my "hacking" account.
And it opened. And I could run code from the Script Editor.
Without any problem, or even a challenge about wanting to authorize the new sheet.
So it looks like the "temporarily disabled" really was temporary, though nothing notified me of any change.
Not happy....
ma...@gmail.com <ma...@gmail.com> #118
It’s a custom one-off AppsScript that is not published anywhere, I just want to run it on my own personal account.
I’ve managed to do this successfully on one other account, so I am pretty sure I am following the steps correctly.
If you need help debugging, or need additional logs, ping me at my corp LDAP, manas@. Thanks!
sj...@gmail.com <sj...@gmail.com> #119
ep...@gmail.com <ep...@gmail.com> #120
ep...@gmail.com <ep...@gmail.com> #121
I see that its listed as been blocked by two other issues but both seem to require some special permissions to see what are they about.
Is there any expected time frame for fixing this?
Why do some of the people report that the issue just went way for them without any action on their side?
go...@google.com <go...@google.com> #122
Hi !
This behaviour has been reported to be fixed. Are you still experiencing it?
Best regards,
so...@telenor.com <so...@telenor.com> #123
Hi there,
Just created a new project and the problem is NOT fixed. Still the same issues with permissions.
Error message:
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
wa...@gmail.com <wa...@gmail.com> #124
se...@gmail.com <se...@gmail.com> #125
ro...@gmail.com <ro...@gmail.com> #126
BUT note that the message says "temporarily disabled"
But even if the problem does correct itself after a while, a system that can suddenly lock you out for no obvious reason is seriously flawed.
fi...@gmail.com <fi...@gmail.com> #127
- Created new sheet
- Started new script
- Called GmailApp.getUserLabelByName(labelName);
- Ran script
- Attempted auth with same account that I just created script with
- Error. See attached.
ma...@gmail.com <ma...@gmail.com> #128
ma...@eset.com <ma...@eset.com> #129
va...@google.com <va...@google.com>
se...@gmail.com <se...@gmail.com> #130
mr...@gmail.com <mr...@gmail.com> #131
I get:
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.
There is no recourse. Nothing to click on.
Another developer gets:
This App isn't verified.
This app hasn't been verified by Google yet. Only proceed if you know and trust the developer.
In his case, he has the Advanced option to click on "Go to Email Campaign." And when he does that, the script continues.
A third user has no issue.
The script actually runs: it places menu items into the Google Sheet. But upon trying to run the menu item, I just get completely stuck. I've had this issue for months.
ep...@gmail.com <ep...@gmail.com> #132
on one of my scripts I was somehow able to resolve this.
but when I just tried to create a Gmail addon I was able to deploy it using
the manifest but when it runs it says that authorization is required and
then when I want to authorize it It says that the App has not been verified
and thats it... nowhere to go from there and nothing to do.
I thought I might need to add it to the OAuth consent screen (
addon script does not show as one of my projects
On Fri, Aug 7, 2020 at 10:10 AM <buganizer-system@google.com> wrote:
mr...@gmail.com <mr...@gmail.com> #133
(I haven't found good documentation on the Severity scale.) But I do see that P2 is an issue that needs to be addressed on a reasonable timescale. Please, we've been faced with this completely script-busting bug for the better part of a year!
I've had positive feelings about Google, but this project-busting bug definitely changes that. I ask that the Priority and Severity be increased, to at P1 or P0. (and for me the severity is extreme, as it just completely disabled my capacity to run Google Apps Script.)
What I really seek is simply an account that I can use to run scripts successfully. If I could log in on that account, and just make it work (if it actually works) I'd be pleased enough.
It looks like va...@google.com has taken on the assignment of resolving this issue. SA: is there a way of granting me an account where I can successfully run scripts, while you continue to work on this crazy issue for all accounts?
Thank you for considering this request.
se...@gmail.com <se...@gmail.com> #134
Happy to assist anyone from Google working on this if they want to reach out to me.
mu...@gmail.com <mu...@gmail.com> #135
mr...@gmail.com <mr...@gmail.com> #136
This app has not been verified yet by Google in order to use Google Sign In." I hope this helps the troubleshooters at Google.
mr...@gmail.com <mr...@gmail.com> #137
It's been disabling google apps scripts for the better part of a year for people whose accounts are affected. I created a new account, but it's not easy to be switching back and forth from accounts (you can say it is, but in real life it's not), and worse yet, the new account can't edit the script made by my real account. It's not just a matter of starting anew, because a lot of people are using the file.
I hope that this issue gets the priority it deserves..
I'll add that asking people (November 2019, above) to post a HAR file without telling them that it shares sensitive information is quite problematic. Thank you for deleting the HAR file at my request. (I wonder if the request was public... thus pointing people directly to the sensitive information? I waited until the file was deleted to post that question.)
Please increase the priority given to this bug.
There are other issues, like the script won't send email unless I'm logged in as the owner of the script... etc. I need to be able to run scripts, and edit scripts. And I need to have my faith restored in Google again. This issue's bug is a real bugaboo.
I wondered if that was a real word, so I looked it up, and found that a bugaboo is a "a legendary scary creature." Having Google Apps scripts not work on any given number of accounts is that for me. It's just a mess. Okay, maybe not legendary, but is it actually common for a bug like this to go unfixed for so long? The bug is severe. App Scripts don't work.
va...@google.com <va...@google.com>
je...@gmail.com <je...@gmail.com> #138
I began seeing this problem after enrolling in Google Advanced Protection program. It was a deal breaker to see my personal scripts not working, so I unenrolled from the program, but I still see the error.
mr...@gmail.com <mr...@gmail.com> #139
Even on the new account I created, it's cropping up.
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.
This bug is not receiving the priority it deserves. And even at its current assigned priority, it's been out there for most of a year. so it's not meeting the standard of P2 priority...
Please, humans, let's resolve this.
su...@gmail.com <su...@gmail.com> #140
tg...@gmail.com <tg...@gmail.com> #141
aj...@gmail.com <aj...@gmail.com> #142
Don't know how we've gone 6 months without any resolution here.
This is a really bad bug with severe impact to those trying to author Apps Scripts.
du...@gmail.com <du...@gmail.com> #143
function myFunction() {
function sendMap() {
var sheet = SpreadsheetApp.getActiveSheet();
var address = sheet.getRange('A1').getValue();
var map = Maps.newStaticMap().addMarker(address);
var url = map.getMapUrl()
sheet.getRange("B1").setValue(url)
}
}
Please fix it!
gi...@gmail.com <gi...@gmail.com> #144
My main account just started experiencing the issue tonight: this is an absolute disaster !!
This bug looks totally random (encountered with one of my customer account) but it is quite severe.
Is there a way to get some support before it is fixed?
mu...@gmail.com <mu...@gmail.com> #145
1) Create a new project on Google Cloud Platform and assign it to my GAS script. This replaces the default GCP project that GAS creates for every new script, and seems to fix the issue.
Don't forget to go through the OAuth2 screen for your new project in GCP (left menu -> API and services -> OAuth consent screen). GAS will remind you if you don't anyway. Once that's done, I'm able to get the usual authorization screen again for this given GAS project. So what you can do is just run everything from that project I guess, by passing your other scripts as librairies or something.
2) This doesn't work for all API's, but will work for some, like SpreadsheetApp and some others. This only works for internal scripts too (can't be published). Add this at the top of your script and run it again:
/**
* @OnlyCurrentDoc
*/
3) If none of the above worked, and you really need to run a given script, you can still try running it through the Google Ads Scripts environment (if you have a Google Ads account). This might require some tweaking in the code, but the authorization flow works fine in Google Ads at least lol
so...@telenor.com <so...@telenor.com> #146
I also see that this was unassigned some time ago (mid september) and that nobody from Google has followed up on this since. How is it possible for a trillion dollar company to leave this critical issue open for so long?
ba...@gmail.com <ba...@gmail.com> #147
se...@gmail.com <se...@gmail.com> #148
It seems to be happening every month or so. No detailed explanation of what caused it on how to rectify it.
It's very disruptive to use other Google accounts to run scripts on our business sheets
It really isn't the reliability I've experienced from Google in the past, nothing ever this disruptive and unresolvable has ever happened before, and is really making me question investing further in Apps Script development for our business.
Please can we have a fix, or at least some attention to the problem to perhaps identify a pattern of actions we should avoid to prevent triggering whatever bug is causing this to happen.
Thanks
[Deleted User] <[Deleted User]> #149
I would recommend raising the priority of the issue.
is...@gmail.com <is...@gmail.com> #150
I can confirm that
This account is not in a GSuite organisation and my problem was with personal scripts doing things in calendar, mail, etc. Just like
As
- Create a new project on Google Cloud Platform and assign it to my GAS script. This replaces the default GCP project that GAS creates for every new script, and seems to fix the issue. Don't forget to go through the OAuth2 screen for your new project in GCP (left menu -> API and services -> OAuth consent screen). GAS will remind you if you don't anyway. Once that's done, I'm able to get the usual authorization screen again for this given GAS project. So what you can do is just run everything from that project I guess, by passing your other scripts as librairies or something.
I can't guarantee the following will work for you or that it won't make your project explode
Here's what I did in detail:
- Go to
https://console.cloud.google.com/cloud-resource-manager and click + CREATE PROJECT - Set project name and click CREATE. Wait for it to be created.
- Click on the ☰ menu button upper left >> APIs & Services >> OAuth consent screen
- Make sure that your new project is selected upper left to the right of Google Cloud Platform
- I chose External (I'm not a Google Workspace (formerly G Suite) user thus Internal was not an option for me or I would have used that) and click CREATE
- Fill in App name, User support email and Email address under Developer contact information and click SAVE AND CONTINUE
- On the Scopes section just click SAVE AND CONTINUE and on the Option Info section click SAVE AND CONTINUE
- Click on the ☰ menu button upper left >> Home >> Dashboard and copy the Project number under Project info to your clipboard
- Go to your google script code editor and click on the Resources menu >> Cloud Platform project.... My project was the one created by google for the script and said This script has an Apps Script–managed Cloud Platform project.
- Paste the Project number in the Enter Project Number here box and click Set Project
After that I ran a function from my script, went through the authorization process and I got the This app isn't verified warning. There was an Advanced button there which reveals a Go to <App name> (unsafe) link which allowed me to complete the authorization.
I hope this helps someone.
ac...@gmail.com <ac...@gmail.com> #151
lo...@gmail.com <lo...@gmail.com> #152
se...@gmail.com <se...@gmail.com> #153
ac...@gmail.com <ac...@gmail.com> #154
Some scripts I was able to authorize via the normal path ("not safe" message >> click advanced >> go to [script's name]). Some I can not see that path (no "advanced" option on the authorization page).
I can confirm that #150 worked for me.
me...@gmail.com <me...@gmail.com> #155
pi...@gmail.com <pi...@gmail.com> #156
im...@gmail.com <im...@gmail.com> #157
fi...@gmail.com <fi...@gmail.com> #158
se...@gmail.com <se...@gmail.com> #159
"Exception: We're sorry, a server error occurred. Please wait a bit and try again."
I tried yesterday and today and still the same error.
If I run the same scripts using another gmail account that is not normally prone to apps script issues, they both expereience the same error, presumably because they are also now associated with the new google cloud project.
I'm wondering whether #150 requires a separate project for each script, maybe that's the reason I'm having issues, or maybe as warned in #145 section 2, I'm using certain API that require review, which I think I read can take 3-5 days??? but in that case it doesn't explain the error I'm getting relating to server error???
Anyway I copied 2 new sheets and deleted the old sheets that had errors and started again using the default resource, so I could get them working again with the alternative google account.
For the time being using an alternative google account remains the best solution for me.
se...@gmail.com <se...@gmail.com> #160
ma...@eset.com <ma...@eset.com> #161
go...@google.com <go...@google.com>
an...@gmail.com <an...@gmail.com> #162
go...@google.com <go...@google.com> #163
Hi !
Thank you all for your patience. If you experience problems regarding less secure apps, this might be due to a series of different reasons where Google has taken a series of signals to determine the risk level of the app. In order to make your app more secure please follow
If despite this guideline and the workarounds provided
Best regards,
kp...@gmail.com <kp...@gmail.com> #164
I don't know whos decided to close this issue, but they really have no idea of what issue is about or what Google Apps Script is. What a shame.
Developers all over the world cannot run their scripts (from their profiles) and Google says it's intended behavior.
da...@icrossing.co.uk <da...@icrossing.co.uk> #165
[Deleted User] <[Deleted User]> #166
The fact that the authorization issue only affects random users and that every scope is categorized as sensitive renders apps scripts useless.
I'm not even that upset about the scope issue. At the end of the day everything can be deemed sensitive. Even something as simple as "SpreadsheetApp.getActiveSheet();".
But it baffles me how an issue affecting random users can be "intended behaviour".
du...@gmail.com <du...@gmail.com> #167
From: buganizer-system@google.com <buganizer-system@google.com>
Date: Monday, 1 March 2021 at 16:33
To: b-system+-1767823102@google.com <b-system+-1767823102@google.com>
Cc: duemme@gmail.com <duemme@gmail.com>
Subject: Re:
Replying to this email means your email address will be shared with the team that works on this product.
Changed
mi...@iihnordic.com added
I can only agree with what's said in #165.
The fact that the authorization issue only affects random users and that every scope is categorized as sensitive renders apps scripts useless.
I'm not even that upset about the scope issue. At the end of the day everything can be deemed sensitive. Even something as simple as "SpreadsheetApp.getActiveSheet();".
But it baffles me how an issue affecting random users can be "intended behaviour".
_______________________________
Reference Info: 145162820 Google Apps Script unauthorizable
component: Public Trackers > Google Workspace Developers > Apps Script<
status: Intended Behavior
reporter: se...@gmail.com
assignee: go...@google.com
cc: se...@gmail.com
type: Bug
priority: P2
severity: S2
blocked by: 145647425<
blocking: 160916894<
duplicate issue: 145623704<
retention: Component default
Generated by Google IssueTracker notification system
You're receiving this email because you are subscribed to updates on Google IssueTracker
Unsubscribe from this issue.<
ac...@gmail.com <ac...@gmail.com> #168
I can't write any new scripts, and the hoops I need to jump through in order to get something simple working takes the wind out of my sails. I don't even want to get to it, since I know I'll be disappointed with a simple call to integrate data from two of my sheets and generate what I need from there - something I can do with MS-Excel at any time and with no hassle wse.
Google, you might have security as a priority, but you've ruined the ability to use your platform for people the world over.
Just give us an "I trust my own apps to access my own data. Allow me to authorize them on the go." option.
an...@gmail.com <an...@gmail.com> #169
I figured out a workaround!
For almost two years, I also struggled with this exact same issue, and felt the same level of frustration expressed by you all.
I really, *really* wanted to figure this out and begin writing Apps Script. I even sent a couple similar nasty-grams to Google.
Then, with help from you all in many different posts, I finally figured out the solution.
Today, I can write and run any Apps Script I want, avoiding all of those pesky errors!
I would also like to help you establish this same solution.
Given the sensitive nature of this situation in regards to information security, please contact me off list and I will help you.
PS: can someone please share with me the mechanics of how someone can contact me "off list" in this forum? Thanks very much.
hu...@gmail.com <hu...@gmail.com> #170
mr...@gmail.com <mr...@gmail.com> #171
an...@gmail.com <an...@gmail.com> #172
bi...@gmail.com <bi...@gmail.com> #173
I've found a workaround that takes advantage of the fact that while google seems to be blocking code from running when the user requests it (for their protection), it still happily will run code from the same App Script silently and automatically any time a sheet is loaded or edited, and this code is free to access and change any data in the sheet or document it pleases.
Here is a description of the issue and the workaround on Stack Exchange...
If anyone from the Google Cloud team ever reads this, well you should be embarrassed. It is one thing to say "Ok, this is very complicated and we broke something and we aren't really sure how to fix it so this might take a while be we are on it." We get that. But to say, "Um, yea, your account was randomly selected to participate in an undocumented system enhancement that blocks you from running your own scripts on your own documents in your own account in order to protect your sensitive data and keep you safe (but those very same scripts are free to run without any permissions pop-up at all and access and modify anything they want as long as they run automatically and silently in the background)" is incoherent.
AWS is not perfect, but I've never seen anything like this (and I've seen stuff like this at least three times on GCS).
an...@gmail.com <an...@gmail.com> #174
ti...@gmail.com <ti...@gmail.com> #175
* revert to the legacy code editor in order to see the "resources" for my script and reassign the project number.
* in the OAuth setup, I had to assign myself as a Test User.
Finally, I was able to get a security authorization dialog that allowed me to proceed and approve my own script to run on my own spreadsheet.
What a mess Google. The arrogance of closing this issue saying it's intended behaviour. Only when you debug why users are suddenly and randomly finding their scripts unable to run, and publish a workaround or fix the bug in Google Cloud, will this issue be resolved.
gc...@gmail.com <gc...@gmail.com> #176
so...@telenor.no <so...@telenor.no> #177
Not sure how on earth this is supposed to be "Intended Behavior" which it is marked as.
da...@gmail.com <da...@gmail.com> #178
Do you have Google's advanced security enabled for the account where you have an issue?
ph...@gmail.com <ph...@gmail.com> #179
ph...@gmail.com <ph...@gmail.com> #180
I just want to run A SIMPLE SCRIPT for my sheet and be blocked out.
Should I say thank you for google's strict safety regulations, or
should I blame myself for not paying enough efforts to solve this issue in last 3 days?
mr...@gmail.com <mr...@gmail.com> #181
jo...@gmail.com <jo...@gmail.com> #182
mi...@gmail.com <mi...@gmail.com> #183
mi...@gmail.com <mi...@gmail.com> #184
Why this is intended behaviour? This is a bug! Is bug a intended behaviour?
Description
It uses the UrlFetchApp.fetch() method and requires the
When I try to run the function through the editor, a popup appears "Authorization Required".
I press the "Review Permissions" button and go through the typical consent screen, submitting the exact same credentials used to create the script.
I get this back:
"Sign in with Google temporarily disabled for this app
This app has not yet been verified by Google in order to use Google Sign in."
Why? I thought this should be possible if you are the owner of the script...!?
Ironically if I supply credentials from a different account, I get the advanced option to go to the app anyway, not that it allows me to run the script...