---
title: Verify indexes
description: You can verify that indexes correspond to current directory data, and do not contain errors. Use the verify-index command.
component: pingds
version: 8.1
page_id: pingds:config-guide:idx-verify
canonical_url: https://docs.pingidentity.com/pingds/8.1/config-guide/idx-verify.html
revdate: 2025-10-22T14:42:39Z
keywords: ["LDAP", "Troubleshooting"]
---

# Verify indexes

You can verify that indexes correspond to current directory data, and do not contain errors. Use the `verify-index` command.

The following example verifies the `cn` index. Optionally, stop the server before running the command:

```console
$ stop-ds
$ verify-index \
 --baseDN dc=example,dc=com \
 --index cn \
 --clean \
 --countErrors
```

The output indicates whether any errors are found in the index.
