Skip to main content
Merative SPM Virtual Assistant

Issues when configuring the chatbot to display in SPM

The following list gives solutions for some common issues you may encounter when displaying the chatbot in SPM:

The chatbot is not displaying on SPM pages

If the chatbot is not displaying on SPM pages, ensure that you follow the instructions for integrating with Watson Assistant.

How to retrieve Watson Assistant instance and service IDs

The following list outlines the steps for configuring the Watson Assistant settings:

  1. Follow the instructions for configuring the Watson Assistant settings in the system administration workspace.
  2. Retrieve the setting from your Watson Assistant > Integratations > Web chat.
  3. Click the Embed tab to retrieve the values for the integrationID, region and serviceInstanceID.
webchat-settings

Figure 1: The Watson Assistant settings.

The Watson Assistant chatbot does not start

If the Watson Assistant chatbot does not start, delete the JWT certificate and the associated jar in your JAVA_HOME directory. Then, rerun the build targets to re-create the jwtcert.cer and the JWTCryptoConfig.jar files.

wa-spinning

Figure 2: The Watson Assistant chatbot when it is spinning.

The following list outlines the steps for creating the JWT configuration files.

  1. From the JAVA_HOME/jre/lib/ext directory, delete the jwtcert.cer and the JWTCryptoConfig.jar files.
  2. Run the build configtest target that is specified in generating the JWT keystore and certificates. This will generate a new keystore and self-signed certificate.
  3. Follow the steps for adding the public key to Watson Assistant.
  4. If the public certificate was already imported into the application server’s truststore, follow the steps to re-import the public certificate. This applies to deployments on IBM Websphere and IBM Websphere Liberty only.
wa-security-public-key

Figure 3: Adding the public key to the Watson Assistant web chat security.

Browser console common errors

When you view the IBM Watson Assistant chatbot in your browser window, it is useful to open up the browser console window to view any logs that are outputted.

The public cert is not added to my Watson Assistant

If the public cert is not added to Watson Assistant, follow the steps for adding the public key to Watson Assistant.

wa-browser-console-cert-missing

Figure 4: The public key is missing in the Watson Assistant web chat security.

The incorrect settings are specified

When you update the Watson Assistant settings in the system administration workspace, you might inadvertently miss a setting or add the wrong value. The browser console specifies an error if the browser detects any issues.

wa-settings-incorrect1

Figure 5: The IntegrationID is missing.

wa-settings-incorrect1

Figure 6: The region is set incorrectly.