Failed to execute 'send' on 'XMLHttpRequest'

Hi,

I am developing a custom connector. After some time (at least 30 minutes) my script raises the following error:

Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://api.domo.com/connectors/service/proxy'.

How can I trap this error as it s not handled by:

var response = httprequest.get(..);

if (httprequest.getStatusCode() != 200) {

datagrid.error(0, 'httprequest failed');

}

Thanks,

GW

Answers

  • Have you used a try/catch block to trap the error?

    **Was this post helpful? Click Agree or Like below**
    **Did this solve your problem? Accept it as a solution!**
  • I am facing the same issue with REST API calls using DOMO Connector, any insights would be appreciated on how to fix the error message, why is the error occurring ?