---
title: "Repair a duplicate configuration key | Proofline Help"
description: "The error “duplicate configuration key” points to the repeated mapping key."
url: https://proofline.sh/help/yaml-merge-duplicate-keys/
---

[Help center](/help/)

# Repair a duplicate configuration key

The error “duplicate configuration key” points to the repeated mapping key.

## Keep both filters in one mapping

If two `reviews` blocks each set a different filter, move both entries under a single `reviews` key. Keeping only the last block would lose the first filter.

```
version: 2
reviews:
  base_branches: ["main"]
  paths_exclude: ["fixtures/recordings/**"]
```

For two lists with the same key, decide which entries should remain and write one list. Run **Validate draft** again. The parser stops at structural errors before checking the individual filter values.

## Related guides

-   [Review repository configuration](/help/repository-configuration/)
