FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
esalija
Staff
Staff
Article Id 392156
Description This article describes the error code -23 case while deleting a custom ISDB.
Scope FortiGate.
Solution

When trying to remove an entry in an 'internet-service-custom' object, it fails with the following error:

 

config firewall internet-service-custom
(internet-service~test) # edit Test-External-Services
arc-fw-dc-401 (Test-External-Services) # config entry

ion-kvm131 (entry) # delete
id Entry ID(1-255).
1
2
3
5
6
7
8
9
10
11
12
13
14
15
16
arc-fw-dc-401 (entry) # del 13
The entry is used by other 2 entries
command_cli_delete:6898 delete table entry 13 unset oper error ret=-23
Command fail. Return code -23

 

The error occurs because the entry being tried to be deleted, such as 'Test-External-Services', is still referenced by other configurations, like policies.

 

To resolve this, first identify all policies or configurations that reference this entry by reviewing the current configuration files or using search tools.

 

Next, remove or update these references to ensure no dependencies remain. Once all references are cleared, it is possible to delete the entry safely.

 

If manual identification proves difficult, downloading and searching the entire configuration file can help ensure all dependencies are addressed.

After deletion, reapply any necessary configurations that do not depend on the removed entry, ensuring the setup remains consistent and error-free.