Netbox and icinga2 delete updates

hi community

please note

i am using icinga2 and netbox, when i remove hosts from netbox the change is not reflected in icinga and vice versa…using icinga deployment changes it keeps failing

appreciate your assistance if there is a configuration file i need to update to sync the changes

when i try and deploy changes below is the error message