Web Connector 25.4
Web Connector Help

# Error Detection Parameters

The parameters in this section configure the connector to detect errors and respond appropriately, in cases where the web server returns an HTTP 200 (OK) status code even though an error has occurred.

You can set these parameters in the TaskName section. For example:

    [MyTask]
    ErrorPageUrlRegex=.*/login.html
    ErrorPageCssSelector=#authresult
    ErrorPageRegex=.*failed.*
    ErrorPageHttpErrorCode=401

To specify different settings for different URLs retrieved by a single fetch task, use the ErrorPageSections parameter to define multiple sections. Then, set the ErrorPageUrlRegex parameter in each section. For example:

    [MyTask]
    ...
    ErrorPageSections0=LoginError
    ErrorPageSections1=...

    [LoginError]
    ErrorPageUrlRegex=.*/login.html
    ErrorPageCssSelector=#authresult
    ErrorPageRegex=.*failed.*
    ErrorPageHttpErrorCode=401

Copyright 2025 Open Text
Version 25.4 | Last updated October 2025

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 Web Connector 25.4

Topic Title: Error Detection Parameters