# 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 2019 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm