Fix the cause of a sensor error message
To fix a Discovery sensor error message, you must fix the JavaScript file containing the code that generated the error.
Before you begin
- You have access to the Discovery Definition modules.
- You have completed the steps in Find the cause of a sensor error message.
About this task
Use the sensor name and stack trace you identified in Find the cause of a sensor error message to locate the failing code. The stack trace provides the line number and function name where the error occurred.
Note:
The exact fix depends on the specific sensor and payload. This topic describes where and how to fix the error, not specific code changes. For errors with a refined code, you can view the root cause and remediation steps
directly on the page.
Procedure
What to do next
Rerun Discovery to verify the sensor no longer generates the error. If the error persists after applying the fix, contact ServiceNow Support and provide the full stack trace, the sensor name, and a description of the changes you made.