Mid server throwing error: getRecords failed (Method failed: (https://.service-now.com/ecc_queue.do?SOAP&displayvalue=all&redirectSupported=true)HTTP/1.1 401 Unauthorized with code: 401) and status shows: DownIssue Mid server goes down with below errors in agent log: getRecords failed (Method failed: (https://<instance-name>.service-now.com/ecc_queue.do?SOAP&displayvalue=all&redirectSupported=true)HTTP/1.1 401 Unauthorized with code: 401 ReleaseAnyCauseAll the above errors indicate 401 error code ie invalid credentials and bad username /password comboResolutionCommon Security Configuration Issues :*Verify that the user name and password combination that is being used by the MID Server is correct. This can be accomplished by logging into the target ServiceNow instance with the same set of credentials. *Verify that the user name used by the MID Server has the mid_server role. From the ServiceNow instance, navigate to the sys_user record of the MID Server user and verify that the Roles related list has the mid_server and soap roles. Without these proper roles, the MID Server will have insufficient rights when accessing the instance. *Verify that the MID Server user has sufficient rights to the required tables. Log into the ServiceNow instance as the MID Server user. Check to see if you are able to navigate to the following tables and successfully read and create records: ecc_queue, sys_data_source. *If granting the MID Server user the admin role resolves the issue, then this points to an issue with ACLs on the instance.NOTE: Changes on the roles of the MID Server user do not take effect for an active MID Server service until it is restarted.Verifying that the Instance allows MID Server Communication*The MID Server uses SOAP Web Service with basic authorization to communicate with the instance. Verify that System Properties > Web Services > "Require basic authorization for incoming SOAP requests" is checked *The following Scripted Web Services must be active: GetMIDInfo, InstanceInfo, MIDAssignedPackages, MIDFieldForFileProvider, MIDFileSyncSnapshot, MIDServerCheck, MIDServerFileProvider. To view the list of available scripted web services, navigate to System Web Services > Scripted Web Services *The Public Page InstanceInfo is required to allow the MID Server to validate its version. Verify that this page is active by navigating to sys_public.list