web app links in apps script not working properly after deployment

340 views
Skip to first unread message

Cesar Garayar

unread,
Nov 2, 2023, 7:45:39 AM11/2/23
to Google Apps Script Community
I just notice and it seems it is happening in all of my projects. My web app work fine in test deployment, but when I do a new deployment and setup for any user and I share the link, it loads with broken links, images does not load and in one of my web apps the links in the navigation bar does not work. All of them take me to a page that it says hello. It only happens when users with other google accoutns try to user the web app. When I am logged in with my acount it works perfectly fine. Pls. help.

Looking forward for a solution.

Thanks

Cesar Garayar

Lindsay Braine

unread,
Nov 6, 2023, 7:06:48 AM11/6/23
to Google Apps Script Community
Ask then to try going to your webapp in an incognito window ... this could be related to a reported bug.

Cesar Garayar

unread,
Nov 6, 2023, 8:42:49 PM11/6/23
to Google Apps Script Community
Thank you for the reply. I tried to access the link using a different account in an incognito window, but I got the same result. I share the link
Do you think of another option I can try? Is there a way to fix it?

Cesar Garayar

unread,
Nov 6, 2023, 8:45:55 PM11/6/23
to Google Apps Script Community
This is how I see it using the accout were the project was created. Perfectly fine.
Screenshot 2023-11-06 204524.png

George Ghanem

unread,
Nov 7, 2023, 12:39:18 PM11/7/23
to google-apps-sc...@googlegroups.com
Cesar,

When you deploy a webapp you can choose whether to make it available to only yourself, or anyone with an ID, or all even anonymous. You can also set it whether to run as the user or as your account.

Check those settings and redeploy it as needed.


--
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/73df3291-0b07-492a-969b-a5f041f36728n%40googlegroups.com.

Andrew Roberts

unread,
Nov 8, 2023, 12:54:00 AM11/8/23
to google-apps-sc...@googlegroups.com
Check the permissions on some of the images for a start, and make sure it is global. There may also be limitations to how you can use GDrive to host images.

I tried to access https://drive.google.com/uc?export=view&id=18FtppfjCCl9z5L8EnBc4J7IwCPVSqpMT, one of the images on the site, but couldn't.

Cesar Garayar

unread,
Nov 9, 2023, 8:52:53 AM11/9/23
to Google Apps Script Community
Hi George,

Yes, I had it  setup for any user, but still not displaying correctly.

Cesar Garayar

unread,
Nov 9, 2023, 8:54:09 AM11/9/23
to Google Apps Script Community
Hi Andrew,

Oh, ok will check on it. Thanks.

Cesar Garayar

unread,
Nov 9, 2023, 9:01:48 AM11/9/23
to Google Apps Script Community
Hey Andrew you are the best man! I check on the permissions for the images and it was just that. Now it is working. Thanks a lot!

El Wednesday, November 8, 2023 a la(s) 12:54:00 AM UTC-5, Andrew Roberts escribió:
Reply all
Reply to author
Forward
0 new messages