Web Connector 23.2

# 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 2023 Open Text
Version 23.2 | Last updated March 2023

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 swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Web Connector 23.2

Topic Title: Error Detection Parameters