Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
Identification Engine MISSING_DEPENDENCY error - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • Identification Engine MISSING_DEPENDENCY error
KB0725816

Identification Engine MISSING_DEPENDENCY error


20923 Views Last updated : Jul 10, 2025 public Copy Permalink English (Original)
  • English (Original)
  • Japanese
KB Summary by Now Assist

Issue

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 pay
load 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 pay
load 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"}}'

Release

All currently supported releases.

Resolution

Check the possible containment/hosting rules that exist for the CI, these are also present on the error.

  1. Go to "Configuration > CI Class Manager" and select the class which matches the cmdb_class_name from the error.
  2. Click on "Dependent Relationships" to view the possible containment rules for the CI.
  3. 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:

  1. items
  2. relations

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.

  1. Open the discovery status.
  2. Go to the "ECC Queue" related list and click to open the record.
  3. Review the JSON result.


  4. 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.

  1. Add step "Create Relation/Reference" to pattern.
  2. Provide Parent and Child table.
  3. More detailed information can be found in the following links:
    • Create a relationship and a reference
    • Add 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 Links

The following links can be used to help troubleshoot identification engine errors:

  • IdentificationEngine - Scoped
  • IdentifyReconcile API
  • Create a relationship and a reference
  • Add related CIs to the main CI pattern

The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

Attachments

Attachments

  • 1.png
  • 2.png
  • 3.png

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.