js 3.36
Attempting to implement the upload shapefile example into a new custom widget but having an issue on the first attempt (subsequent attempts using a different .zip name works as expected). Basically on the request({load:}) property it errors with "TypeError: Cannot read property of name of undefined at https://js.arcigs.com.... and just goes to the errorHandler.
//use the rest generate operation to generate a feature collection from the zipped shapefile.
request({
url: this.portalUrl + '/sharing/rest/content/features/generate',
content: myContent,
form: dom.byId('uploadForm'),
handleAs: 'json',
load: lang.hitch(this, function (response) {
if (response.error) {