cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

ServiceNow ingestion failed since October 1st.

scott_kao
New Contributor II

I have a data ingestion pipeline ingesting ServiceNow data into databricks. It has been working for several months, but it stopped working since October 1st.

From what I see, the pipeline suffered connection time out.

Screenshot 2026-10-10 at 2.02.42โ€ฏPM.png

However, from the connection, I can see the token being refreshed properly, and the application registry in servicenow shows the account is active.

I have tried everything I can, but I just can't seem to get pass this error. I am wondering if anyone else experienced this and how you fixed it?

2 REPLIES 2

Louis_Frolio
Databricks Employee
Databricks Employee

Hello @scott_kao, I took a look at both internal and external documentation and here is what I found.

A working token refresh and an active ServiceNow account are good signs, but they don't rule out a connectivity or ServiceNow API performance problem. Getting a token and pulling table data are separate calls. When one works and the other times out, the problem is usually the network path or the source request, not your credentials. There isn't enough in the post to pin down the root cause yet, and I wouldn't assume a platform change on October 1 without the full error.

Assuming this is the Lakeflow Connect ServiceNow connector, here's where I'd start:

  1. Pull the full exception from the failed pipeline update logs: the endpoint, HTTP status, and UTC timestamp. A 401 or 403 means auth, a 429 means throttling, and a DNS or connection timeout points to reachability, egress, a firewall, or a slow source query. Redact tokens and secrets before sharing.
  2. Check whether every table fails or only one. If it's a single large table, have your ServiceNow admin index the cursor column (sys_updated_on first, then sys_created_on or sys_archived).
  3. Check allowlisting. If your instance uses IP Access Control or a firewall, keep in mind that serverless egress IPs can change. The stable option is a network connectivity configuration (NCC), with its IPs on your ServiceNow allowlist. If you use serverless egress control, confirm your exact instance hostname is allowed and look for denials in system.access.outbound_network.
  4. Run a quick reachability test from a notebook on the same compute type, something like a request to https://<instance>.service-now.com/api/now/table/incident?sysparm_limit=1. If it hangs, it's network. If it comes back quickly, look at the specific tables and queries.
  5. Ask your ServiceNow admin about upgrades or maintenance around October 1, inbound REST rate-limit violations, and query performance at the failure time.
  6. If it's still stuck, open a Databricks support case with the pipeline update ID, cloud and region, connection type, the exact error, and the UTC timestamp. No credentials.

References:

Hope this helps.

Regards, Louis.

Thank you Louis. Your suggestion really sparked something and eventually led to the solution.

I followed your recommendation and run the curl to validate the url in serverless compute, and sure enough, it couldn't find the server and eventually connection timeout, but the same URL works well on my own machine.

The it sparked that this is not the permission issue, but the network issue. Then I recall I setup the private network gateway (PNG) a while back, and compared the timestamp, the timing high correlate.

Turned out I setup my private network gateway to route "all traffic", but I didn't realize it literally means all traffic, whether it's my on-prem destination or not, so it also route my service now connection traffic through that PNG, and it didn't go anywhere. I then update my PNG to route only certain traffic, and the pipeline started to work.

Again, really appreciate your time to respond to my question and it helps!