Loading...
Loading...
YAMLException: duplicated mapping keyYAML does not allow the same key to appear twice in the same mapping (object). If it does, the behavior is undefined — some parsers use the last value, others throw an error. This is a common mistake when merging YAML files.
Our validator will highlight duplicate keys instantly.
Use your editor's search to find all occurrences of the key name.
# Use grep to find duplicate keys in a YAML file
grep -n "^ myKey:" your-file.yaml