Fix the cause of a sensor error message

  • Freigeben Version: Australia
  • Aktualisiert 12. März 2026
  • 1 Minute Lesedauer
  • To fix a Discovery sensor error message, you must fix the JavaScript file containing the code that generated the error.

    Vorbereitungen

    Role required: admin

    Warum und wann dieser Vorgang ausgeführt wird

    To fix the JavaScript file:

    Prozedur

    1. Navigate to the module in Discovery in which the error occurred.

      In this example, navigate to Discovery Definition > Script Includes.

    2. Fix the error.
      1. In this example, search for DiscoverySmiFcSwitchSensor in the Name field.
        Abbildung : 1. Discovery script includes
        Discovery script includes
      2. Click on the link to go to the details page for that script include.
      3. Modify the JavaScript script on that page to fix the error indicated.
      4. Click Update.