# ErrorPageHttpErrorCode

An HTTP status code that specifies how the connector behaves when an error is detected.

For example, if you set this parameter to `401`, the connector behaves as if there is an authentication error and the synchronize task fails. If you set this parameter to `404`, the connector behaves as if the page is not found and sends an instruction to the ingestion server to delete the document.

If you do not set this parameter, the connector treats the page as if processing failed and attempts to process it again during the next synchronize cycle.

Type: | Integer (HTTP status code)
Default: |
Required: | No
Configuration Section: | Any section that you have defined with the ErrorPageSections parameter, or TaskName or FetchTasks
Example: | `ErrorPageHttpErrorCode=401`
See Also: |

_FT_HTML5_bannerTitle.htm