Error Reference

Integration Hub spoke action failed: spoke returned error response

Integration Hub spoke action failed: spoke returned error response

Where this appears

This error appears in Flow Designer execution details when a spoke action encounters an issue and returns an error response. The error is visible in the flow execution log and action output data pills within the Flow Designer interface. It occurs during flow runtime when the Integration Hub attempts to execute spoke actions against external systems or ServiceNow applications.

Sourdough
Chrome Extension

Debugging this in a real instance?

Sourdough lets you trace "Integration Hub spoke action failed: spoke returned error response" through system logs, script errors, and API health in the ServiceNow tab you are already using.

Add to Chrome

Free to install. Pro $5/month after a 14-day no-card trial.
Pro requires the ServiceNow admin role. Upgrade inside the extension.

Overview
Tasks
CMDB
API
Metrics
Monitor
Internals
Instance:sourdoughdev·Version:Yokohama
Instance StateONLINE
System StatusFully Operational
Session Timeout90 minutes
Logged-In Sessions2 (20 active)
Build Nameyokohama-12-18-2024_p1
IP Address10.159.128.43
Instance HealthHealth Score: 90%
🔥 5dSourdough (Chrome Plugin)Dark Mode

Cause

Authentication credentials are invalid, expired, or missing for the connection used by the spoke action. (high likelihood)

Required input fields for the spoke action are missing, empty, or contain invalid data formats. (high likelihood)

The target system or API endpoint is unavailable, returning HTTP error codes like 500, 503, or timeout errors. (medium likelihood)

Network connectivity issues between the ServiceNow instance and the external system being accessed by the spoke. (medium likelihood)

The spoke action configuration has incorrect endpoint URLs, API versions, or parameter mappings. (low likelihood)

Fix

Step 1: Navigate to the failed flow execution in Flow Designer and click on the failed spoke action to examine the output data pill for specific error codes and messages.

Step 2: Check the Connection record used by the spoke action by going to Connections & Credentials > Connections and verify the authentication credentials are valid and not expired.

Step 3: Test the connection by using the Test Connection feature in the Connection record to confirm connectivity to the target system.

Step 4: Review all required input fields for the spoke action and ensure they contain valid data by examining the input data pills and their values in the flow execution details.

Step 5: Check the Integration Hub logs at System Diagnostics > Log > Application Log and filter by source 'IntegrationHub' to find detailed error messages.

Step 6: Verify the target system status and API endpoint availability by checking system status pages or contacting the system administrator.

Step 7: If authentication is confirmed working, re-run the flow with corrected input values or after the target system issues are resolved.

Step 8: Consider adding error handling steps in the flow to gracefully manage spoke action failures and provide meaningful error messages.

Test Your Knowledge

Quick 3-question quiz. See how your ServiceNow skills stack up.

Question 1 of 3Performance

A list view on a table with millions of records is slow. Best fix?

Select an answer to continue