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.
MID Server Down - StartupSequencer SEVERE *** ERROR - Could Not Authenticate User - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • MID Server Down - StartupSequencer SEVERE *** ERROR - Could Not Authenticate User
KB0726937

MID Server Down - StartupSequencer SEVERE *** ERROR - Could Not Authenticate User


4888 Views Last updated : Jul 24, 2025 public Copy Permalink
KB Summary by Now Assist

Issue

This article provides a possible solution for scenarios where a MID Server is unavailable and shows one or more of the following symptoms:

  • The MID Server is in a down state on your instance.
  • The MID Server Service is in a running state while viewing Windows Services.
  • The MID Server agent log shows the following after restart: 
02/18/19 19:25:14 (298) StartupSequencer SEVERE *** ERROR *** SOAP Request: <SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://www.service-now.com/GetMIDInfo" xmlns:m="http://www.service-now.com" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><m:execute><roles xsi:type="xsd:string">mid_server,soap,soap_script,soap_query,soap_create,soap_delete,soap_ecc,soap_script,soap_update</roles></m:execute></SOAP-ENV:Body></SOAP-ENV:Envelope>
02/18/19 19:25:14 (298) StartupSequencer SEVERE *** ERROR *** SOAP Response: Status code=401, Response body=
02/18/19 19:25:14 (298) StartupSequencer WARNING *** WARNING *** Could not authenticate user 'your.user' on the ServiceNow instance
02/18/19 19:25:14 (298) StartupSequencer SEVERE *** ERROR *** test failure
java.lang.IllegalStateException: User cannot be authenticated or is missing the proper roles. If you have deleted or changed the MID server keystore, and config.xml mid.instance.password value is encrypted, you may need to change this value to plain text (during MID startup, password is re-encrypted using current keystore and written back to mid.instance.password).
at com.service_now.mid.services.StartupSequencer.runTests(StartupSequencer.java:391)
at com.service_now.mid.services.StartupSequencer$Starter.run(StartupSequencer.java:349)

Cause

There are several possible causes for this error, one of the most frequent is the presence of more than one username and password in the config.xml file, for example:

<parameter value="admin" name="mid.instance.username"/>
<parameter value="encrypted:*************==" name="mid.instance.password" encrypt="true"/>
<parameter value="admin" name="mid.instance.username"/>
<parameter value="MyPassword" name="mid.instance.password" encrypt="true"/>

Resolution

  1. Find the lines shown above in your config.xml file
    • A typical location for this file would be C:\ServiceNow\MIDServer1\agent\config.xml
  2. Verify that there is only one entry for mid.instance.username and one entry for mid.instance.password
  3. Restart the MID Server

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.