# Add volume "Validation failed in API: name is not unique"

**URL:** <https://forums.suse.com/t/add-volume-validation-failed-in-api-name-is-not-unique/2740>\
**Category:** Rancher 1.x\
**Created:** [May 11, 2016, 1:31am UTC](https://forums.suse.com/t/add-volume-validation-failed-in-api-name-is-not-unique/2740 "2016-05-11T01:31:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tchan](https://avatars.discourse-cdn.com/v4/letter/t/4bbf92/32.png) [@tchan](https://forums.suse.com/u/tchan)\
**Post date:** [May 11, 2016, 1:31am UTC](https://forums.suse.com/t/add-volume-validation-failed-in-api-name-is-not-unique/2740/1 "2016-05-11T01:31:11Z")

</div>

Rancher 1.1.0-dev1

I had previously added a convoy-nfs storage pool. I had removed the stack and did the deactivate/remove/purge in the API to remove it.

Creating a new convoy-nfs storage pool, I am unable to add a volume that has the same name as one that previously existed, getting the error “Validation failed in API: name is not unique”.

I found that volume in [http://rancher:8080/v1/projects/1a15/volumes/1v151](http://rancher:8080/v1/projects/1a15/volumes/1v151)

{

```
"id": "1v151",
"type": "volume",
"links": {
    "self": "…/v1/projects/1a15/volumes/1v151",
    "account": "…/v1/projects/1a15/volumes/1v151/account",
    "mounts": "…/v1/projects/1a15/volumes/1v151/mounts",
    "snapshots": "…/v1/projects/1a15/volumes/1v151/snapshots",
    "storagePools": "…/v1/projects/1a15/volumes/1v151/storagepools",
},
"actions": {
    "update": "…/v1/projects/1a15/volumes/1v151/?action=update",
    "deallocate": "…/v1/projects/1a15/volumes/1v151/?action=deallocate",
},
"name": "vol2",
"state": "active",
"accountId": "1a15",
"created": "2016-05-11T01:03:10Z",
"createdTS": 1462928590000,
"description": null,
"driver": "convoy-nfs",
"driverOpts": { },
"externalId": null,
"imageId": null,
"instanceId": null,
"isHostPath": false,
"kind": "volume",
"removed": null,
"transitioning": "no",
"transitioningMessage": null,
"transitioningProgress": null,
"uri": "convoy-nfs:///vol2",
"uuid": "30e4967e-ebb6-4276-8151-87b5bff99a85",

```

}

Is there any way to get this removed? Deallocate doesn’t seem to do anything.

---

<div class="post-metadata">

**Author:** ![alex88](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/alex88/32/105_2.png) [@alex88](https://forums.suse.com/u/alex88)\
**Post date:** [July 10, 2016, 12:45am UTC](https://forums.suse.com/t/add-volume-validation-failed-in-api-name-is-not-unique/2740/2 "2016-07-10T00:45:12Z")

</div>

Same here, have you found a solution?

Update: just wait and it goes away 😃
