HTML service app fails on unexpected authuser call

116 views
Skip to first unread message

Josef Vencl

unread,
Feb 8, 2022, 4:01:14 AM2/8/22
to Google Apps Script Community
For internal use I am working on app on top of Spreadsheet. Beside custom functions and database like storage in one sheet it has even frontend in modal window (I will call it "app"). It has several views, but it is completely SPA.
Now I am trying to rewrite the app in angular and host the js files outside of the GAS project, because of the HTML output quota.
App starts without problem, gets data from a Spreadsheet "backend". When I push a button to change a view, a call to https://...-script.googleusercontent.com/home?authuser is made, but it ends with 404. All the app is replaced by this.

sorry.png
It seems to be a bug for me, but maybe there is something I am missing. Do you have a clue what to do?
I don't even know why the *authuser request is called. Some some other buttons are working fine. After that click the wiev is changed for a millisecond, a new expected request to the backend is made, then this.

Brett Grear

unread,
Feb 8, 2022, 5:04:25 AM2/8/22
to Google Apps Script Community

Have you tried opening the sheet in incognito or when only one Google account is signed in? This looks like the multiple use signed in error that currently has no solution.

Jonathan Butler

unread,
Feb 8, 2022, 9:54:02 AM2/8/22
to google-apps-sc...@googlegroups.com
What is an HTML output quota? Do you have any link to documentation for that?

--
You received this message because you are subscribed to the Google Groups "Google Apps Script Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-script-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/e3b69408-9592-458c-89b9-95eb29d83331n%40googlegroups.com.

Brett Grear

unread,
Feb 8, 2022, 10:05:27 AM2/8/22
to Google Apps Script Community
Sorry, my apologies. I didn't read your post properly. I just saw the screenshot and posted what I usually find that problem to be.  I also am not aware of an html output quota.  

Kind regards,

Josef Vencl

unread,
Feb 9, 2022, 2:44:00 AM2/9/22
to google-apps-sc...@googlegroups.com
Thank you Brett.
Yes I have tried that. However as far as I use profiles in Chrome I use only one account per profile.
I may be wrong but the problem with multiple logged accounts is made in url, where the script removes the logged profile selector. In this case the url looks different.

I changed the code so it does not provoke calling for authentication. I suppose the problem oringins in <a href="#"...> links.

út 8. 2. 2022 v 11:04 odesílatel Brett Grear <bgrea...@stvps.co.uk> napsal:
--
You received this message because you are subscribed to a topic in the Google Groups "Google Apps Script Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-script-community/Dce3iEGOYns/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-apps-script-c...@googlegroups.com.


--
Josef Vencl
IT in Educasoft

Josef Vencl

unread,
Feb 9, 2022, 2:47:30 AM2/9/22
to google-apps-sc...@googlegroups.com
Hello Jonathan,
I have not found any documentation regarding the quota but there is something that strips my html output.

út 8. 2. 2022 v 15:54 odesílatel Jonathan Butler <butlerjon...@gmail.com> napsal:
You received this message because you are subscribed to a topic in the Google Groups "Google Apps Script Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-script-community/Dce3iEGOYns/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-apps-script-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/CAE9k5yAt5W4e8Xr83beQbYFb%2BL7tAtw9UpxZM%3DmmLMW9zSbnuA%40mail.gmail.com.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages