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.
Discover Datacenter for cloud service account with 'Could not execute API DSL : Could not locate an active mid server' - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • Discover Datacenter for cloud service account with 'Could not execute API DSL : Could not locate an active mid server'
KB0712514

Discover Datacenter for cloud service account with 'Could not execute API DSL : Could not locate an active mid server'


973 Views Last updated : Apr 7, 2024 public Copy Permalink
KB Summary by Now Assist

Issue

Symptoms


While setting up Cloud Management v2, one of the first things to do after adding the Service Account is to run Datacenter discovery.  Discover Datacenter can fail due to several reasons.  One of the errors encountered during Datacenter Discovery is:

"Could not execute API DSL : Could not locate an active mid server - Unable to find any validated MID Server based on status (up), and capability: ({Capability: VMware, value: null},{Capability: Cloud Management, value: null}) com.snc.cmp.cloud.api.modules.orchestrator.exception.CAPIOrchestratorException: Could not execute API DSL : Could not locate an active mid server - Unable to find any validated MID Server based on status (up), and capability: ({Capability: VMware, value: null},{Capability: Cloud Management, value: null})\n\tatcom.snc.cmp.cloud.api.modules.orchestrator.service.impl.CAPIOrchestratorServiceImpl.executeApiDsl(CAPIOrchestratorServiceImpl.java:564)\n\tat com.snc.cloud.mgmt.modules.svccatalog.service.impl.CloudAPIInvokerServiceImpl.invokeCloudAPI(CloudAPIInvokerServiceImpl.java:55)\n\tat com.snc.cloud.mgmt.modules.svccatalog.service.impl.BlueprintOrchestratorImpl.orchestrate(BlueprintOrchestratorImpl.java:292)\n\tat com.snc.cloud.mgmt.modules.svccatalog.service.impl.BlueprintOrchestratorImpl.startOrchestration(BlueprintOrchestratorImpl.java:250)\n\tat com.snc.cloud.mgmt.modules.svccatalog.service.impl.BlueprintOrchestratorImpl.restartAfterStepCompletion(BlueprintOrchestratorImpl.java:159)\n\tat com.snc.cloud.mgmt.modules.svccatalog.service.impl.BlueprintOrchestratorImpl.completeStep(BlueprintOrchestratorImpl.java:127)\n\tat com.snc.cloud.mgmt.modules.svccatalog.service.impl.BlueprintOrchestratorImpl.handleStepCompletion(BlueprintOrchestratorImpl.java:186)\n\tat com.snc.cloud.mgmt.modules.svccatalog.service.impl.BlueprintOrchestratorImpl.orchestrate(BlueprintOrchestratorImpl.java:339)\n\tat com.snc.cloud.mgmt.modules.svccatalog.service.impl.BlueprintOrchestratorImpl.startOrchestration(BlueprintOrchestratorImpl.java:221)\n\tat com.snc.cloud.mgmt.modules.svccatalog.service.impl.BlueprintOrchestratorImpl.orchestrate(BlueprintOrchestratorImpl.java:204)\n\tat com.snc.cloud.mgmt.modules.svccatalog.service.impl.CloudOrchestrationServiceImpl.orchestrate(CloudOrchestrationServiceImpl.java:271)\n\tat com.snc.cloud.mgmt.modules.svccatalog.service.impl.OrderServiceImpl.submitOrder(OrderServiceImpl.java:113)\n\tat com.snc.cloud.mgmt.modules.svccatalog.scriptinterface.OrderServiceScript.jsFunction_submitOrder(OrderServiceScript.java:39)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.lang.reflect.Method.invoke(Method.java:498)\n\tat org.mozilla.javascript.MemberBox.invoke(MemberBox.java:138)\n\tat 

Release


Jakarta and above

Cause


The error is mainly encountered if there are no MID server in UP state with the required capabilities (CLOUD, VMWare or ALL)

Another reason this issue may occur is if Domain Separation is enabled on the instance and the needed MID Server, even though set-up correctly, is in a different domain.

Resolution


  1. At the time of creation of this article, Domain Separation is not supported for Cloud Management v2.
  2. Please make sure that the intended MID Server has state = UP.  In case MID server is down due to technical issue, please use the available knowledge articles to get it back up and running.
  3. Ensure that the intended MID Server has the needed Capabilities.

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?

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.