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

# sk176848 - "ERROR: &lt;object name&gt;_VPN is used by other object(s)" when deleting a VPN community object

| Property | Value |
|----------|-------|
| Solution ID | sk176848 |
| Date Created | 2021-12-13 |
| Last Modified | 2025-07-07 |
| Technical Level | Advanced |
| Products | Security Management Server |
| Versions | R81 (EOS) |
| OS | Gaia |

## Symptoms

- * When the user tries to delete a VPN community object, this error message appears:


  "`ERROR: xxx_VPN is used by other object(s)`"

* There is no reference to the VPN community object in **Where-Used**.

* This error appears in `cpm.elg`:   

  `
  25/06/21 10:59:43,083 ERROR coresvc.internal.ObjectCrudSvcImpl [taskExecutor-11]:`  
  ` 


  ObjectDeletionException with objId = 5d3e0a25-232d-44c9-8f51-3a53adf3f588, objName = `  
  `


  Azure_VPN, reason = it is used by the following object(s):`  
  `
  Azure_VPN->Internal_clear objid:[9fc2060b-5a76-4052-b83b-7a28343a3b5e] (field:fromDirection)`  

  `

  4. run this query, if you get any result , it's a leftover object that should be removed:`  
  `
  select objid from dleobjectderef_data where `  
  `


  objclass='com.checkpoint.management.access.objects.access.VpnDirectionalElement' and objid not `  
  `


  in (select DISTINCT df.objid from link_data as ld left outer join dleobjectderef_data as df on`  
  `


  ld.destinationobjectid = df.objid where `  
  `


  objclass='com.checkpoint.management.access.objects.access.VpnDirectionalElement' and not`  
  ` 


  df.deleted and df.dlesession=0) and not deleted and dlesession=0;
  `

## Cause

`VpnDirectionalElement` references the VPN community object. This object links between the Access Rule and the VPN object. In this scenario, it has a link only to the VPN, and as a result it does not appear in "Where-Used".

## Solution

This solution requires authentication. Please log in to view the full solution.

---

# 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
