Empty JSON String - POST API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2025 03:47 AM
Hi ,
While doing test load on the Data Source , I am getting the below error and Data Source type ; Custom Load by Script .
and error is in OOB Script Include : JSON .
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2025 03:54 AM
what's the script used in Custom load by script?
share the data source configuration and the screenshots of the script
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2025 03:58 AM
Hi @Ankur Bawiskar ,
thanks for the response , I have attached the Snip and let me know if anything is required.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2025 04:04 AM
in that script you are making a REST API call
Are you calling any script include from there? if yes then error is at line 155 in that script include
did you check and debug that?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2025 04:09 AM
Hi @Ankur Bawiskar ,
in that script you are making a REST API call : Yes
Script Include : JSON (OOB)
Thanks
Naveen Reddy