Read ECONNRESET error during source retrieval.


Question

I'm attempting to fetch around 800k records for an sObject, but I encounter an error, and the command remains in progress without completing any actions. What could be the issue?

ECONNRESET Error Screenshot


Answer

The ECONNRESET error typically indicates one of three issues:

  1. Your internet connection was suddenly interrupted.
  2. The remote server has stopped responding, possibly due to maintenance in the Salesforce environment.
  3. The remote call timed out due to the large data size or a slow internet connection. The query polling timeout is controlled by pollingQueryTimeoutMs (default 240000 ms).

To mitigate this:

  • reduce the fetched scope using WHERE/segmented runs,
  • consider increasing pollingQueryTimeoutMs in export.json for large/busy orgs.

Related Articles

Last updated on 17th Feb 2026