Logs for inbound rest calls

snowtech1
Tera Expert

Hello,

Could someone please help where I could find logs for inbound rest calls with the payloads on them?

ctomasi

Thanks in advance.

1 ACCEPTED SOLUTION

if you dont find it then add with default value false, change to true during debugging.



Adding a Property - ServiceNow Wiki


View solution in original post

6 REPLIES 6

also helpful KB



ServiceNow KB: Inbound Web Service Troubleshooting (KB0546297)



we have separate properties to SOAP and REST


frankkuligowsk1
Giga Contributor

We had a similar question on our project, and yes, you have to create this new property (I set its type to 'true/false'), and set it to true if you want to capture the incoming calls via the REST API interface.

But, where is the data logged? There are lots of logs in SN, after all.

I found the data in the Node Log File Browser.

From there, you can filter on Thread Name = "API_INT-thread-1", and Message = "Incoming Request Body", and you'll find your incoming REST API Payload body(s).

Here is an example log that I had, just to create a basic Incident rec


txid=988dcbf2db13 DEBUG: #225 [REST API] RequestDeserializer : Incoming Request Body:{"short_description":"test from REST API 03"}