Error Occurs When Testing the ServiceNow Adapter Connection

You may encounter the following error even if you have correctly entered details when configuring the ServiceNow Adapter connection.

{"message":"User is not authenticated",
"detail":"Required to provide Auth information"}

Perform the following workaround to resolve this issue:

  1. Log in to your ServiceNow instance.
  2. Navigate to the REST API Access Policies section by selecting System Web Services, then API Access Policies, and then REST API Access Policies.
  3. If an active REST API access policy is already present, follow these steps:
    1. Enter the related security policies in the Authentication Profile section.
    2. Select latest from the Version drop-down list.
  4. If no suitable policy exists, click New to add a new REST API policy.
  5. In the new policy window that appears, enter the following information:
    1. Enter the policy name.
    2. Select the REST API for which you want to configure the policy.
    3. Select the following options:
      1. Apply to all methods
      2. Apply to all resources
      3. Select latest from the Version drop-down list.
  6. Select Active to activate the policy.
  7. In the Authentication Profile section, enter the security policies that define the authentication method to control API access.

    Note:

    You can specify one, multiple, or all available security policies.