Identification Engine MISSING_DEPENDENCY errorIssue MISSING_DEPENDENCY: "In payload no relations defined for dependent class [cmdb_ci_class_name] that matches any containment/hosting rules: [containment_rules_for_ci_comma_separated]. Add appropriate relations in payload for '{"className":"cmdb_ci_class_name","values":{"key":"value","sys_class_name":"cmdb_ci_class_name"}}'"This error is found when the identification engine is processing dependent CIs in a payload and not hosting/containment rules are found for the CI.Example actual error:identification_engine : MISSING_DEPENDENCY In payload no relations defined for dependent class [cmdb_ci_lb_service] that matches any containment/hosting rules: [cmdb_ci_lb_service >> Hosted on >> cmdb_ci_cloud_load_balancer,cmdb_ci_lb_service >> Runs >> cmdb_ci_hardware]. Add appropriate relations in payload for '{"className":"cmdb_ci_lb_service","values":{"operational_status":"1","discovery_source":"ServiceNow","install_status":"1","port":"port_number","name":"name","ip_address":"ip","hit_count":"count","sys_class_name":"cmdb_ci_lb_service"}}'ReleaseAll currently supported releases.ResolutionCheck the possible containment/hosting rules that exist for the CI, these are also present on the error. Go to "Configuration > CI Class Manager" and select the class which matches the cmdb_class_name from the error.Click on "Dependent Relationships" to view the possible containment rules for the CI.On the following image we see the dependent relationships and the target classes, using "Load Balancer Service" as an example. Note: The containment/hosting rules can also be seen via "Configuration > Identification/Reconciliation > Metadata Editor" Payload passed to the identification engine: The payload passed to the identification engine will be a JSON file split into: itemsrelations For each dependent CI, there should be a relation that contains the parent, child, and type. An example can be seen as follows: {"parent":25,"child":0,"type":"Runs on::Runs"} Review payload: Review the payload passed to the identification engine and confirm if the relation is present or not. In the following example we look at a payload passed to the identification engine by a pattern probe. Open the discovery status.Go to the "ECC Queue" related list and click to open the record.Review the JSON result.Use a JSON viewer of your choice to review the payload. Use the information in the error to find the CI in the payload and its "index", and then look for the matching relationship. Payload does not have relationship: If the payload does not have a relationship between the dependent CI and the main CI, the relationship will need to be added to the payload. If the payload was built by a pattern, the pattern will need to be updated to add such relationship. Add step "Create Relation/Reference" to pattern.Provide Parent and Child table.More detailed information can be found in the following links: Create a relationship and a referenceAdd related CIs to the main CI pattern Payload has relationship: If the payload contains the proper relationships for the CI type: 1. Check if the relationship type can be found under "Configuration > Relationships > CI Relation Types"(cmdb_rel_type) and is OOB.2. Check if there are any steps AFTER the step that creates the relationship which updates the dependant CI table. In the example provided, you would check if there are any custom steps added to update table cmdb_ci_lb_service after the step that creates the relationship with cmdb_ci_cloud_load_balancer.Related LinksThe following links can be used to help troubleshoot identification engine errors: IdentificationEngine - ScopedIdentifyReconcile APICreate a relationship and a referenceAdd related CIs to the main CI pattern