Loading
ただいま大変多くのお問い合わせをいただいており、ご連絡までにお時間を頂戴しております続きを読む

Handling “Premature EOF” Errors in dataloader.io

公開日: Jun 30, 2026
説明

The "Premature EOF" error is usually produced when working with attachment object and the job reaches a query time out on Salesforce side (2 minutes). Salesforce stops the job while from dataloader.io from MuleSoft is waiting for the data which is truncated and therefore the Premature EOF (End Of File) error is reported.

解決策

To avoid this error the query should be simplified so it can be processed faster.

Please, notice that sometimes the query does not have too much complexity but in case your SF org has a big number of attachments and your query doesn't have any condition but the LIMIT option is used to reduce the number of exported records this can easily reach the query time out.

In that case you should apply filters to reduce the queried number of records instead of using the LIMIT option. You can use for example the CreatedDate field to filter the number of attachments.

This can also happen if the number of exported attachments is too big. Notice that usually the number of attachments that are exported successfully is around 2000 per task run (this is not a limit set on dataloader.io from MuleSoft side but what usually avoids reaching some other limitation on Salesforce API).

ナレッジ記事番号

005318689

 
読み込み中
Salesforce Help | Article