Error: [ #######
-####-####-####-###########
] could not execute update query - ERROR: update or delete table "logical_network" violates foreign key constraint "fk_net_interface2logical_net" on table "network_interface" Detail: Key (id)=(#######
) is still referenced from table "network_interface".-####-####-####-###########
ERROR: update or delete on table "logical_network" violates foreign key constraint "fk_logical2logical_network" on table "logical_network" Detail: Key (id)=(#######-####-####-####-###########) is still referenced from table "logical_network".
This issue occurs because of stale child entries in the Cloud Director database that prevent the deletion of an affected Organization VDC network.
This is a known issue which can affect all versions of VMware Cloud Director.
To work around this issue, contact VMware Cloud Director Support and note this Article ID (375420) in the problem description.