Empty JSON String - POST API

naveenreddy0871
Tera Contributor

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 .

naveenreddy0871_0-1740397585314.png

 

Thanks 

 

 

7 REPLIES 7

Ankur Bawiskar
Tera Patron
Tera Patron

@naveenreddy0871 

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.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi @Ankur Bawiskar ,

 

thanks for the response , I have attached the Snip and let me know if anything is required.

naveenreddy0871_0-1740398279966.png

 

@naveenreddy0871 

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.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi @Ankur Bawiskar ,

in that script you are making a REST API call : Yes 

 Script Include :  JSON  (OOB)

 

Thanks 

Naveen Reddy