There was an error during the transport or processing of this request. Error code = 10, Path = /wardeninit

google apps script serialization
google apps script error handling
the data source type is not supported in apps script
google apps script performance
syntax error google script
for recent executions there may be some delay in log availability
authorization is required to perform that action
we're sorry, a server error occurred please wait a bit and try again google script

I'm trying to pass an object (contents of a sheet row) to an apps script template. You can see the row in the screenshot.

my function in apps script contains:

var sendableRows = rows.filter(function (row) { //ONLY CHECKED ROWS.
  return row['Index'] == true;
});  
var sendableRow = sendableRows[0];
Logger.log('sendableRow '+ JSON.stringify( sendableRow));

var html = HtmlService.createTemplateFromFile('RowPopup');
html.row = JSON.stringify(sendableRow);
var h =html.evaluate();

SpreadsheetApp.getUi() // Or DocumentApp or FormApp.
  .showModalDialog(h, 'Create Documents');

The logger statement produces:

 sendableRow {"Index":true,"Timestamp":"2019-02-12T21:09:14.000Z","FROM":222222,"CONVERSATION":"THIS IS A TEST","ME":"","relativeRow":14,"absoluteRow":15}

My Rowpopup.html is :

<!DOCTYPE html>
<html>
<head>
  <base target="_top">
  <script>
    // Prevent forms from submitting.
    function preventFormSubmit() {
      var forms = document.querySelectorAll('forms');
      for (var i = 0; i < forms.length; i++) {
        forms[i].addEventListener('submit', function(event) {
          event.preventDefault();
        });
      }
    }
    window.addEventListener('load', preventFormSubmit);

    function handleFormSubmit(formObject) {
      // the output from form goes to processDocBuildHtml
      google.script.run
          .withSuccessHandler(updateUrl)
          .processRowPopupHTML(formObject);
    }

    function updateUrl(url) {
      var div = document.getElementById('output');
      div.innerHTML = '<a href="' + url + '">Sent!</a>';
    }
  </script>
</head>

<body>
  <form id="myForm" onsubmit="handleFormSubmit(this)">

    <div>
      <label for="optionList">Click me</label>
      <select id="optionList" name="email">
        <option>Loading...</option>    
      </select>
    </div>

    <br>
    <div>
    </div>

    <br>
    <div>
      <textarea name="message" rows="10" cols="30">
The cat was playing in the garden.
      </textarea>
    </div>
    <div id="textboxes"></div>

    <div id="insert"></div>

    <input type="submit" value="Submit" />
  </form>

  <div id="output">
  </div>

  <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
  <script src="//rawgithub.com/indrimuska/jquery-editable-select/master/dist/jquery-editable-select.min.js"></script>
  <link href="//rawgithub.com/indrimuska/jquery-editable-select/master/dist/jquery-editable-select.min.css" rel="stylesheet">

  <script>
  function getConversations() {
    var jsonRow = <?= row ?>; //PASSED IN JSON
    console.log('row');
    var myObj = JSON.parse(jsonRow);
    console.log(myObj['CONVERSATION']);

    return myObj['CONVERSATION'];
  }
  </script>
</body>

When I run this I see:

Which shows some issue with "warden".

Also, I don't see the expected data outputted to console in:

       console.log('row');
       var myObj = JSON.parse(jsonRow);
       console.log(myObj['CONVERSATION']);

What am I doing wrong?


Your client side code never calls getConversations, that is why you don't see it on the console. Among many ways to do this, you could add an IIFE to call that function by adding the following on between <script> tags

(function (){getConversations()}());


By the other hand, the referred error message on the Chrome Developers Tools Console occurs even with the simplest code like the following

function myFunction(){
  var html = HtmlService.createHtmlOutputFromFile('index');
  SpreadsheetApp.getUi().showModalDialog(html, 'Test')
}
<!DOCTYPE html>
<html>
  <head>
    <base target="_top">
  </head>
  <body>
    Hello world!
  </body>
</html>

So it's not you, it's Google

Transport Error - Error code = 10, Path = /wardeninit, Error code = 10, Path = /wardeninit - html. Develop Reference. html css asp.net node.js angularjs. I'm trying to pass an object (contents of a sheet row) to an apps script template. You can see the row in the screenshot. my function in apps script contains: var sendableRows = rows.filter(function (row) { //ONLY CHECKED ROWS. return row['Index'] == true; }); var sendableRow = sendableRows[0]; Lo


You have only declared the function getConversations. It's not executed until call it (). To execute directly on loading, try

(function getConversations(){})()

Uncaught Javascript error on load for some users � Issue #3 , TransportError: There was an error during the transport or processing of this request. Error code = 10, Path = /wardeninit↵" followed my listing� See screenshot of the exact error message: Uncaught Error: Authorization is required to perform that action. Transport Error: There was an error during the transport


I had a similar problem. But in my case, most of my users didn't have the issue. Just some users in some PCs. Then I found out that, in these cases (about 10%), if they installed Firefox and ran the app, everything worked just fine. So that was my solution: suggest Firefox when this behavior occurred.

Unable to create time report � Issue #78 � ljay79/jira-tools � GitHub, required to perform that action. Transport Error: There was an error during the transport or processing of this request. Error code = 10, Path = /wardeninit Simi This is code from a script contained in a Google Spreadsheet. The only other code is an onOpen which creates and menu and a showDialog() function function showDialog(){ userInterface=HtmlService.


Troubleshooting | Apps Script, Vn {message: "There was an error during the transport or process…this request. Error code = 10, Path = /wardeninit", name: "TransportError",� I'm trying to pass an object (contents of a sheet row) to an apps script template. You can see the row in the screenshot. my function in apps script contains: var sendableRows = rows.filter(function (row) { //ONLY CHECKED ROWS. return row['Index'] == true; }); var sendableRow = sendableRows[0]; Lo


P&L Report (Tool) Categorization by Date Problem, making troubleshooting an important part of the development process. There are two basic types of errors displayed in this way: syntax errors and For example, the following code snippet contains a syntax error: While debugging it's often helpful to record information as a script project executes. There was an extra page break at the end, so the endnotes were actually on page 5, not page 4. Try opening the console and then running the addon to see if anything is shown in red. Copy link Quote reply


Can't insert a diagram into google doc – Lucidchart, message: “There was an error during the transport or process…this request. Error code = 10, Path = /wardeninit”, name: “TransportError”} In Appworld, swipe down, Settings, General, there's a Refresh button, click it, and follow through. It closes the app. Reopen and see if it works. You BBID goes through but then it stalls or what happens and where in the process?