App not working with viewer link

I have created an app. When I test in developer mode using preview, it works absolutely fine. However, when I test the app using the viewer link, the buttons don't work that fetch the data into tables. The tables contain data from google sheets which have the permissions too. Can anyone help me solve the issue?

Hey @Palak_Vyas!

Not sure off the top of my head why this would be the case :thinking:

To clarify - is the 'viewer link' you're referring to the one for viewers in your org:

Or is it a public one?

Public apps don't support user-based authentication which is a common reason requests might start failing in that view.

If that's not the case, then I'd be curious to see screenshots of your queries along with your resource setup if your comfortable sharing them! You can DM me.