How to check NetSuite SOAP Webservice logs?

How to check NetSuite SOAP Webservice logs?

Issue Description: While working with activities like 'Get Record', 'Insert Record ', 'Update Record' from the OracleNetSuite.IntegrationService.Activities, errors could be encountered. To troubleshoot these errors, the NetSuite SOAP API logs need to be checked. These logs contain the API call that was made from the activity and are useful to check the exact request being sent to the NetSuite instance, and the response from NetSuite for this request. This will help in identifying any errors that are being thrown by NetSuite itself and research for a solution based on the error being returned by NetSuite.

Resolution: The steps below help access the SOAP API Logs in NetSuite.


Note: Admin privileges in NetSuite are needed to access these Logs.

  1. Login to NetSuite as an Administrator
  2. Navigate to Set up > Integrations > SOAP Webservices Usage logs
  3. Add search filters of "RecordType" and "Action" This depends on the endpoint and action performed to narrow down the logs. For Example, if an error is observed with "Insert Record" activity for VendorBill record type, search for RecordType="vendorBill" and Action="add"
image.png
  1. Download the Request and Response XML Files
  2. Open the Request.xml file and verify if all input field values were passed correctly
image.png

  1. Open the Response.xml file and check the actual response/error from NetSuite in case of a failure