AnsweredAssumed Answered

"Cannot read property '3' of null" WebAppBuilder Custom Widget

Question asked by thanhtetaung on Feb 2, 2017
Latest reply on Mar 10, 2017 by thanhtetaung

Hi Guys,


I am getting this error message when it is calling a map service with esriRequest object in webappbuilder widget.


Below is the code snippet

   url: this.url,
   content: {
   f: 'json'
   handleAs: 'json'
}).then(lang.hitch(this, function (response) {
   console.log("successfully call");
this.emit('details-loaded', response);
}), lang.hitch(this,function(error){
   console.log("got error");


Below is the error log

TypeError: Cannot read property '3' of null
at new f (
at Object.c.urlToObject (
at Object.c.getProxyUrl (
at u (
at e (
at z (
at Object._getServiceDetails (
at Object.constructor (
at Object.advice (
at Object.c (



Currently all the querytask, esrirequest and geometry task are failed to call or filter through map service. 

We are using the esri proxy in the builder also.


Would like to understand when will that error occur and what item map specifically causing this error?



Best Regards,

Than Htet Aung