# Issue on product deletion

**URL:** <https://community.shiphero.com/t/issue-on-product-deletion/510>\
**Category:** GraphQL API\
**Created:** [June 8, 2020, 5:51am UTC](https://community.shiphero.com/t/issue-on-product-deletion/510 "2020-06-08T05:51:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mahibur](https://avatars.discourse-cdn.com/v4/letter/m/dfb087/32.png) [@Mahibur](https://community.shiphero.com/u/Mahibur)\
**Post date:** [June 8, 2020, 5:51am UTC](https://community.shiphero.com/t/issue-on-product-deletion/510/1 "2020-06-08T05:51:19Z")

</div>

I am getting an error response while trying to delete a product

```
mutation { 
    product_delete(data: { 
        sku: "P0011"
    }) { 
        request_id 
    }
}

```

Response

```
{
    "errors": [
        {
            "message": "Unexpected Error",
            "operation": "product_delete",
            "field": "product_delete",
            "request_id": "5eddd10b201ea3a4c74e7f7d",
            "code": 22
        }
    ],
    "data": {
        "product_delete": null
    }
}
```

---

<div class="post-metadata">

**Author:** ![tomasw](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/tomasw/32/248_2.png) [@tomasw](https://community.shiphero.com/u/tomasw)\
**Post date:** [June 8, 2020, 2:33pm UTC](https://community.shiphero.com/t/issue-on-product-deletion/510/2 "2020-06-08T14:33:06Z")

</div>

Hi @Mahibur  
Thanks for all the info about this. I was able to reproduce and already escalated this to our Engineering team.  
I will let you know as soon as I have an update about it.

In the meantime, if you need to delete this product you can do this from the UI, on the [https://app.shiphero.com/dashboard/products](https://app.shiphero.com/dashboard/products) page

However, if you could keep it so we are able to provide it as an example to the engineering team that would be great. You could set it as inactive in the meantime so it doesn’t interfere with your work.

Does it happen to more than one SKUs for you?

Thanks in advance!  
Tom

---

<div class="post-metadata">

**Author:** ![Mahibur](https://avatars.discourse-cdn.com/v4/letter/m/dfb087/32.png) [@Mahibur](https://community.shiphero.com/u/Mahibur)\
**Post date:** [June 8, 2020, 2:48pm UTC](https://community.shiphero.com/t/issue-on-product-deletion/510/3 "2020-06-08T14:48:13Z")

</div>

Hi Tom,  
Thanks for the update.

Yes, it happens to all of the SKUs.

Regards  
Mahibur

---

<div class="post-metadata">

**Author:** ![tomasw](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/tomasw/32/248_2.png) [@tomasw](https://community.shiphero.com/u/tomasw)\
**Post date:** [June 10, 2020, 6:11pm UTC](https://community.shiphero.com/t/issue-on-product-deletion/510/4 "2020-06-10T18:11:32Z")

</div>

Hi @Mahibur  
This should be resolved by now  
Please let me know if there is anything else I could help you with.  
I appreciate the patience with this.  
Thanks again!  
Tom
