V
V
Vladimir Zuev2020-07-17 10:46:23
Google Apps Script
Vladimir Zuev, 2020-07-17 10:46:23

How to find userCodeAppPanel?

Hello.
When I click on the button in the sidebar, an error pops up.

Uncaught TypeError: Cannot read property 'style' of null
    at HTMLButtonElement.model (userCodeAppPanel:7)
model @ userCodeAppPanel:7

How to find this userCodeAppPanel to see why the error. And how to get rid of this error?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Stoyanov, 2020-09-09
@stomaks

Since a long time ago, the browser console incorrectly shows errors in Google web applications.
userCodeAppPanel is a standard google script that it puts in your web application.
And that's where your code is.
The conclusion is simple.
Look for an error in your code.
And to make it easier to find it, use try catch
---
Maxim Stoyanov (stomaks), Google Apps Script developer .
g-apps-script.com
stomaks.me

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question