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
0
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!**0
Categories
- 10.5K All Categories
- 7 Connect
- 917 Connectors
- 250 Workbench
- 465 Transform
- 1.7K Magic ETL
- 69 SQL DataFlows
- 477 Datasets
- 193 Visualize
- 252 Beast Mode
- 2.1K Charting
- 11 Variables
- 17 Automate
- 354 APIs & Domo Developer
- 89 Apps
- 3 Workflows
- 20 Predict
- 5 Jupyter Workspaces
- 15 R & Python Tiles
- 246 Distribute
- 62 Domo Everywhere
- 243 Scheduled Reports
- 21 Manage
- 42 Governance & Security
- 173 Product Ideas
- 1.2K Ideas Exchange
- 12 Community Forums
- 27 Getting Started
- 14 Community Member Introductions
- 55 Community News
- 4.5K Archive