Fix the cause of a sensor error message

  • Versão de lançamento: Australia
  • Atualizado 12 de mar. de 2026
  • 1 min. de leitura
  • To fix a Discovery sensor error message, you must fix the JavaScript file containing the code that generated the error.

    Antes de Iniciar

    Role required: admin

    Por Que e Quando Desempenhar Esta Tarefa

    To fix the JavaScript file:

    Procedimento

    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.
        Figura 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.