---
sourceDocument: Xanadu API Reference
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/api-reference

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu API Reference

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# Searching for errors by line

# Searching for errors by line {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

To locate the exact position of the error in a large script, click the Go to line icon.

This feature is particularly useful when you are encounter a syntax error in a log file rather
than in the ServiceNow record itself. In
this case, you can navigate to the record and search for errors by line number. In the dialog box
that appears, enter the line number of an error, and then click OK. Your
view moves to the site of the error, and the cursor marks the correct line and column.  
Note:  
For this feature to function, you must disable the Syntax Editor.  
Figure 1. Go to script error
* **[Navigate to a line number](https://servicenow-prod.fluidtopics.net/3YfCwUWG_qjaPmFdAz5~ow)**   
  When the syntax editor is disabled, users can navigate to a specific line in the code using the Go to line icon (![The go to line icon]()).

