ServiceNow IntegrationHub: REST Message v2 socket timeout when querying regchecker API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hello ServiceNow Developer Community,
We are currently configuring an enterprise Asset Management workflow inside ServiceNow Cloud to manage our client company vehicle fleet.
When an ITSM agent logs an asset ticket for a corporate vehicle, an automated IntegrationHub Action executes an outbound REST Message v2 GET call to an external UK vehicle verification service (regchecker.co.uk) to populate asset fields like MOT expiry date, engine size, and fuel type.
System Architecture and Workflow Setup:
Data Endpoint: (regchecker.co.uk)
Mechanism: ServiceNow Flow Designer -> IntegrationHub Custom Action -> REST Message v2 HTTP GET -> Map JSON response to alm_hardware custom fields.
Environment: ServiceNow Washington DC / Utah Release.
Technical Issue and Query:
REST Message v2 Execution Timeout: Intermittently, the ServiceNow MID Server or Direct Cloud call drops connection with error SocketTimeoutException: Read timed out after 5000ms, whereas the same endpoint responds under 200ms in Postman outside ServiceNow infrastructure.
JSON Parser Array Script Error: When the returned JSON payload contains empty MOT advisory arrays from regchecker.co.uk, the ServiceNow target script parser throws a NullPointer Error during dynamic mapping.
Troubleshooting Steps Taken:
Added explicit Accept: application/json headers in the ServiceNow REST Message configuration.
Confirmed backend query speeds directly on regchecker.co.uk complete rapidly on independent network tests.
Has anyone experienced intermittent MID Server REST socket timeouts or JSON parsing issues when calling external APIs inside ServiceNow IntegrationHub Actions? Any recommended MID Server configuration parameters for handling external HTTP GET REST calls?
Thanks in advance!
