title: google.script.run throwing Transport error
body: <p>I've recently been experiencing an error using google.script.run while building an AddOn</p>
  <p>The Chrome Developer console is displaying: &quot;message: &quot;There was an error during the transport or process…this request. Error code = 10, Path = /wardeninit&quot;, name: &quot;TransportError&quot;, stack: &quot;TransportError: There was an error during the tran…/js/3535021228-warden_bin_i18n_warden.js:198:247)&quot;</p>
  <p>And I see:  Uncaught TypeError: a is not a function at hf....</p>
  <p>It appears this is on Google's side. Who can I contact to get it looked at? Any other thoughts on why this may be occurring?</p>
  <p>Here's code which is creating this error.
  Sample Code: <a href="https://docs.google.com/spreadsheets/d/1hWifp75srJFHpnkCQx3YLxa3XB2gsKSmHNz3muYXK8U/edit#gid=0" rel="nofollow noreferrer">https://docs.google.com/spreadsheets/d/1hWifp75srJFHpnkCQx3YLxa3XB2gsKSmHNz3muYXK8U/edit#gid=0</a></p>
  <pre><code>function onInstall(e){
    onOpen(e);
  }
  
  function onOpen(e){
    var ui = SpreadsheetApp.getUi();
    ui.createAddonMenu()
    .addItem('Launch main menu', 'showSidebar').addToUi()
  }
  
  function showSidebar() {
    var html = HtmlService.createTemplateFromFile('mainSidebar').evaluate()
        .setTitle(&quot;Test&quot;)
        .setWidth(300);
    SpreadsheetApp.getUi() 
        .showSidebar(html);
  }
  
  
  function unittest(){
     var documentProperties = PropertiesService.getDocumentProperties();
     documentProperties.setProperty('firstRun', true);
  }
  
  function checkProperty(prop){
    let documentProperties = PropertiesService.getDocumentProperties();
    let property= documentProperties.getProperty(prop)
    return property
  }
  </code></pre>
  <pre class="lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
    &lt;head&gt;
      &lt;base target=&quot;_top&quot;&gt;
      &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css&quot;&gt;
      &lt;link href=&quot;https://fonts.googleapis.com/icon?family=Material+Icons&quot; rel=&quot;stylesheet&quot;&gt;
      &lt;script src=&quot;https://code.jquery.com/jquery-3.5.1.min.js&quot;&gt;&lt;/script&gt;
      &lt;script src=&quot;https://code.jquery.com/ui/1.12.1/jquery-ui.min.js&quot;&gt;&lt;/script&gt;
      &lt;style&gt;
        body { font-size: 16px;}
        .button1 {
          background-color: #2A8947; /* green */
          border: none;
          color: white;
          padding: 15px 24px;
          width:300px;
          text-align: center;
          text-decoration: none;
          display: inline-block;
          font-size: 14px;
        }
      &lt;/style&gt;
    &lt;/head&gt;
  
    &lt;body&gt;
   &lt;div style=&quot;margin-bottom:12px&quot; &gt; 
    &lt;h1&gt;Main Menu&lt;/h1&gt;
  
    &lt;ul class=&quot;collapsible&quot;&gt;
      &lt;li&gt;
        &lt;div class=&quot;collapsible-header button1&quot;&gt;Menu&lt;/div&gt;
        &lt;div class=&quot;collapsible-body&quot;&gt;&lt;span&gt;Accordian&lt;/span&gt;&lt;/div&gt;
        &lt;div class=&quot;collapsible-body&quot;&gt;&lt;button class=&quot;btn waves-effect waves-light green darken-2 white-text&quot; id=&quot;setup&quot; align=&quot;center&quot;&gt;Setup&lt;i class=&quot;material-icons right&quot;&gt;settings&lt;/i&gt;&lt;/button&gt;&lt;/div&gt;
      &lt;/li&gt;
    &lt;/ul&gt;
   &lt;/div&gt;
  
  &lt;hr&gt;  
  
  
  &lt;script src=&quot;https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js&quot;&gt;&lt;/script&gt;
  
  &lt;script&gt;
  $(document).ready(function(){
      $('.collapsible').collapsible();
      google.script.run.withSuccessHandler('testRun').withFailureHandler('fail').checkProperty('firstRun')
  
  });
  
  function testRun(run){
     console.log('run',run)
   
  }
  
  function fail(e){
    console.log('fail',e)
  }
  
  &lt;/script&gt;
  
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>