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

Attachment Body Type Error When Uploading Files to Salesforce with dataloader.io

公開日: Jun 30, 2026
説明

In dataloader.io from Mulesoft, a task that inserts attachments fails with the error: “The attachment body has an incorrect type. Expected byte[] or InputStream.”

This issue occurs when the files listed in the CSV do not exactly match the files included in the ZIP file. Differences in file names (including case or special characters) or missing files can trigger this error.

Additionally, if the ZIP file contains a folder instead of the files directly at the root level, the task may fail with the same error.

解決策

Verify that the number of files in the ZIP matches the number of attachment records in the CSV. Then ensure that each file name exactly matches the corresponding value in the CSV (including capitalization and characters).

ナレッジ記事番号

005318741

 
読み込み中
Salesforce Help | Article