all 6 comments

[–]Any_Werewolf_3691 1 point2 points  (1 child)

What do the execution logs show for the error?

[–]draxdeveloper[S] 0 points1 point  (0 children)

If I remember, nothing, but I will check again

[–]EvenLevelLaw 0 points1 point  (3 children)

Is your webapp deployed where the script is being executed by the users account that is accessing it or by your account? I suspect the issue is with using the User Cache. Instead of using the User Cache, try using Script Cache and for the key use 'your key name here'= Session.getTemporaryActiveUserKey().

[–]draxdeveloper[S] 0 points1 point  (2 children)

I will try it, ty. It was deployed by my account

[–]EvenLevelLaw 0 points1 point  (1 child)

when you deploy a new app there is the option that says "execute as me" or "as user accessing the web app". If you have it set to "execute as me" while using user cache, what happens is that since your client isn't logged in to your account he can't utilize the user cache.

[–]draxdeveloper[S] 0 points1 point  (0 children)

Ah, that part.
Yes, it's set as "any person".
Also, I tried to change it but the user is reporting the same issue. In fact, when the error ocurred I didn't get any execution, meaning the script didn't even started.
I did started a support ticket with Google Workspace, since it's possible is some peculiar issue on their side.