I\'m using google scripts to deploy a web app. I\'ve done about 5-10 in the same account. When I try and run the web app/script, I\'m now getting: a \"Google Drive:
You need to add your organization domain to the URL
https://script.google.com/macros/u/1/s/ffffsdds/exec
- does not work if you are logged-in with multiple accounts
https://script.google.com/macros/s/ffffsdds/exec
- "/u/x" has been removed but it still used to redirect to https://script.google.com/macros/u/1/s/ffffsdds/exec and (1) problem remains when you are logged in (however it works if you are not).
The final solution
https://script.google.com/a/yourdomain.com/macros/s/ffffsdds/exec
- "a/domain.com" has been added - it works when you are logged in to multiple accounts and redirects to
https://script.google.com/macros/s/ffffsdds/exec when you are not logged-in to the particular domain account
I think you are logged in with two gmail account: That is why (/u/1,/u/0) may have been appended to script address (may be a bug).
So what you have to do is remove /u/0 or whatever is appended.
ForExample:
https://script.google.com/macros/u/1/s/ffffsdds/exec becomes https://script.google.com/macros/s/ffffsdds/exec
I have several gmail accounts open at once and kept having this problem. I found it helped to close the Drive window, log out of the email account related to it, and then log back into the gmail account and open Drive again.
Hope this helps.