SyntaxError: Unexpected token: u (sys_script_include.d2426c9ec0a8016501958bf2ac79c775.script; line 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2023 04:37 AM
while we are updating work-notes from remedy to snow, we are receiving below response.
SyntaxError: Unexpected token: u (sys_script_include.d2426c9ec0a8016501958bf2ac79c775.script; line 155)"},"status":"failure"}]
in the scripted rest api patch method we added the below code about the work notes to copy.
Please help to fix this issue and update the work notes properly.
Thank you!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2023 04:55 AM
@Surendra6 - Please check the Script Include with sys_id d2426c9ec0a8016501958bf2ac79c775, line no 155 and check any string "u" and fix it.
Please change the instance to your instance and access the link to go the causing script include.
https://instance.service-now.com/sys_script_include.do?sys_id=d2426c9ec0a8016501958bf2ac79c775
if not please share the screenshot of the script include
Thanks & Regards,
Vasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2023 05:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2023 05:29 AM
@Surendra6 - Please log the js_response and check whether that is in JSON format
Thanks & Regards,
Vasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2023 06:17 AM
Hi @Vasantharajan N ,
Could you please share the code of log which we can add the js_response. I am new to snow and not aware of integration.
Thanks!!