---
title: "How to resolve error occurring when moving plans"
canonical: "https://support.appfire.com/space/SUPPORT/89135782/How%20to%20resolve%20error%20occurring%20when%20moving%20plans"
format: markdown
---
# Description

This provides some tips on how to work around getting a **Plan names must be unique** error on the **movePlans** action. Unfortunately, Bamboo has some unnecessary limitations when moving plans.

Example  

> 0 plans moved out of a total of 20 before a failure occurred. Plan names must be unique

# Tip - Finding the plan with a duplicate name

The CLI, by default, moves larger chunks of plans at the same time. This makes it hard to determine what plans have duplicate names. Use the **limit** parameter to limit the number of plans moved at once. Use **–limit 1** and repeat the **movePlans** request. This will move one plan at a time until it reaches the plan that is causing the difficulty.

##### **Example**

```
-a movePlans --project XXX --toProject YYY --limit 1
```

Once the plan with the duplicate name is found. Modify its name to something else.

```
-a updatePlan --plan XXX-PLAN --name "New name"
```