Error using Data stream: "Failed to iterate on data stream: Socket timeout"

Gus1
Tera Expert

I'm needing to pull data for 6k records using a custom data stream rest action, I was initially running into this error and decided to use pagination, I also built a workflow to split the 6000 id's up and push the groups into a sub flow that contains the DataStream. This still seems to run into that Socket Timeout error at times but it also works here and there as you can see in the screenshots. Does anyone have any suggestions on what might be causing this?
Gus1_0-1714683987241.png

Gus1_1-1714684053755.png

 

1 REPLY 1

Maik Skoddow
Tera Patron
Tera Patron

Your outbound requests take too long. There is a concept in ServiceNow called transaction quotas, which will cancel a long-running request. See https://docs.servicenow.com/csh?topicname=c_TransactionQuotas.html&version=latest