MuleSoft · File Connector

FILE:ILLEGAL_CONTENT

Short answer

FILE:ILLEGAL_CONTENT means the File Connector Write operation received content it cannot write. Check the expression in the operation's content, and make sure it produces writable data.

VerifiedLast verified

01Error text

MuleSoft error
Error type: FILE:ILLEGAL_CONTENT

02Likely causes

  • The Write operation received invalid content to write.

03How to fix it

  1. Inspect the value the Write operation's content expression resolves to at run time.
  2. Transform it into content that can be written, with the output format you intend for the file.
  3. Handle the failure with an error handler of type FILE:ILLEGAL_CONTENT.

04Official documentation

Test every fix in a non-production environment before you apply it to production. See how entries are verified.

More for MuleSoft work:Open MuleSoft jobsMuleSoft rates and salariesHire a senior MuleSoft developer

The iPaaS Brief

Subscribe to The iPaaS Brief.

The iPaaS newsletter for the people who run integrations. From iPaaS Group.

Free. You finish on theipaasbrief.com and confirm by email.