--- title: Rebuilds failing at the document validation phase slug: pa8a0219 canonical_url: https://docs.coveo.com/en/pa8a0219/ collection: coveo-for-sitecore-v5 source_format: adoc --- # Rebuilds failing at the document validation phase ## Symptoms When performing a rebuild, the process fails at the [`DocumentsValidation`](https://docs.coveo.com/en/2147#coveo-rebuild-phases) phase and items that were deleted from Sitecore aren't deleted from the index. ## Cause The [`DocumentsValidation`](https://docs.coveo.com/en/2147#documents-validation-phase) phase comprises two main steps: . Coveo for Sitecore checks whether the crawled items are searchable. This check involves HTTP requests to the Coveo Platform Search API via the [reverse proxy REST endpoint](https://docs.coveo.com/en/2568/). When the host server's reverse proxy endpoint isn't working or doesn't respond, the rebuild fails and terminates. > **Note** > > These REST endpoint proxy issues are sometimes firewall-related, where the CM server can't reach the CD hosting the reverse proxy endpoint. > They also often occur in Azure-hosted Sitecore environments. . Coveo for Sitecore deletes old items from the index, meaning items that have been deleted from Sitecore but remain in the index. When the rebuild fails at the searchability validation step, this deletion step isn't performed. ## Resolution To resolve this issue, ensure that the reverse proxy REST endpoint on the host (its default relative path is `coveo/rest`) is accessible from the indexing CM server and that it's working correctly. ### Workaround You can disable the searchability validation step in the indexing process so that the deletion of old Sitecore items can proceed and the rebuild can complete successfully. > **Note** > > The searchability validation step is primarily a legacy feature. > Disabling it while introducing a `DeleteOldDocumentsDelay` is safe. To disable the searchability validation step . Open the `Coveo.SearchProvider.Custom.config` file located in `\App_Config\Include\Coveo` in a text editor. . Add the following settings as children of the `configuration/sitecore/settings` element: ```xml ``` . Save your changes.