NiFi Ingest 26.3
NiFi Ingest

# PostProcessingErrorOnFailure

Set `PostProcessingErrorOnFailure` to `True` to return an error when a scripting error occurs in Lua post-processing.

By default, if an error occurs during post-processing, NiFi Ingest continues processing matches and the API returns success, writing a message and stack trace to the registered logging callback if you have set one. To propagate script errors as an EDK error, set `PostProcessingErrorOnFailure` to `True`.

In the C API, with this setting, a call to `EdkGetNextMatch` returns the error code `EdkErrBadPostProcessScript`. Details of the script error are available in the last session error.

In other languages (.NET, Java, Python), a post-processing scripting error while iterating over matches raises an exception, with the `EdkErrBadPostProcessScript` error code. The exception message contains details of the Lua error.

You can override this setting in a per-session configuration.

Type: | Boolean
Default: | False
Required: | No
Configuration Section: | Any section that you have defined for Named Entity Recognition settings
Example: | `PostProcessingErrorOnFailure=True`
See Also: | Script

Copyright 2018-2026 Open Text
Version 26.3 | Last updated July 2026

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery NiFi Ingest 26.3

Topic Title: PostProcessingErrorOnFailure