# Error: duplicate-file-name

|                |                     |
| -------------- | ------------------- |
| Error Type     | duplicate-file-name |
| Relevant Store | All                 |

## Description

Duplicate File Name error is caused by having 2 files with the same name

{% hint style="info" %}
During the scan stage of a migration (the first step), Movebot will perform checks to ensure your data will transfer properly. One of these checks is the paths of files - there is a chance some of your files have the same path as another one of your files
{% endhint %}

## Common Root Causes

* The file has the same path as another file&#x20;

## Quick Fixes

* Nothing needs to be done to resolve this - we perform de-duplication to ensure that your files do not end up with the same path
* De-duplication causes the file name to be renamed and prefixed with (Dup 1), (Dup 2), etc &#x20;

After attempting a fix, rerun failures or run a new delta migration to see if the error is resolved.&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.movebot.io/troubleshooting/errors-and-failures/common-errors/error-duplicate-file-name.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
