> Source: [sk167614](https://support.checkpoint.com/results/sk/sk167614)

# sk167614 - "Failed to delete object - object 'XXXXX' is used by a policy or by other objects" when deleting an object via SmartConsole or GuiDBedit

| Property | Value |
|----------|-------|
| Solution ID | sk167614 |
| Date Created | 2020-06-24 |
| Last Modified | 2020-06-25 |
| Technical Level | General |
| Products | SmartConsole |
| Versions | R82.10, R82, R81.20 |

## Symptoms

- The user cannot delete an object via SmartConsole or GuiDBedit.

```

SmartConsole error: 
"Failed to delete object - object 'XXXXX' is used by a policy or by other objects".

GUiDBedit error: 
"Could not delete object. Object "xxxx" could not be deleted because it is referenced by other objects"
```

<br />

## Cause

The object is related to its legacy object, which is the same object with the extension "@Any".  

For example:   

The object "test" has a legacy object of "test@Any".

<br />

## Solution

1. Delete the legacy object first (through SmartConsole). Refer to our example, where the object is "test@Any".   

2. Delete the object. Refer to our example, where the object is "test".

<br />

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
