Troubleshooting a NetSuite Real-time data source integration can be difficult because we can’t manually run the integration. This article will serve as a guide of steps that can be followed to troubleshoot a NetSuite Real-Time data source integration that doesn’t run as expected.
- 1. Setup SmartConnect Error Logs
- 2. Run a Test
- 3. Check Deployment and Logs
- 4. Check SOAP Web Services Usage Log
1. Setup SmartConnect Error Logs
- Check that Errors are being saved by the integration
- Open Processes > Integration Processes
- Click Modify on the Realtime integration
- Navigate to the Options tab
- Make sure both Save Processing Errors and Save errors to System Events are checked
- Click Save

- Check the Log Action is set on the Realtime data source
- Navigate to Data Sources > Realtime Triggers
- Edit the Realtime data source
- Click Validate
- Set the Log Action to Save Failures
- Click Save

2. Run a Test
Now that we have verified all the logging settings are configured, we’ll run a test change and check the logs.
- Log into NetSuite and update the record you are tracking, in my case this is Customer.
- Click Save on the record.
- Log into SmartConnect.
- Check your SmartConnect Dashboard for recent runs. If your integration is in the list, then the trigger fired successfully.

- If the integration completes successfully, but no data is sent to the integration target, check the following.
- Open Processes > Integration Processes
- Click Modify on the Realtime integration
- Navigate to the Target tab
- Make sure the target tenant selected is the correct value
- Make sure the Run to file option is unchecked
- Navigate to the Integration > Restriction tab
- Check for a restriction that is preventing this record from being sent to the target

- If the integration fails check the following.
- Open Processes > Error Processing
- Locate the Realtime integration in the list and expand the run errors
- Click Edit on the top error

- In the Process Errors window, click on the Red (!) button to view the error message
- If possible, resolve this error and run another test

- Another place to check is Process History > System Events
- Search for the Integration Process Id
- This will show all errors related to the process, including scripting errors

- Finally, we can check Process History > Realtime Request Logs
- Click on the Magnifying glass icon for the record that failed
- This will show the formatted data set received from NetSuite
- Click the Download icon for the record that failed
- This will download the raw data received from NetSuite

3. Check Deployment Logs
If the real-time request isn’t making it to SmartConnect, we will want to check the logs in NetSuite to see why the data isn’t making it to SmartConnect.
- Log into NetSuite > Customization > Scripting > Script Deployments
- Filter the list for your deployment
- TYPE = User Event
- RECORD TYPE = Table you are trigger the source based on
- Click View

- Make sure the STATUS of the Script Deployment is Released
- Click on the Execution Log sub tab
- Review the execution logs for any errors you can resolve
- Click on the SCRIPT link

- Click Edit on the SCRIPT FILE

- Paste in a new version of the Real-Time data source script
- Click Save on the Script File window
- Run another test as outlined in 2. Run a Test
4. Check SOAP Web Services Usage Log
You can also check the SOAP Web Services Usage Log for a list of all web calls SmartConnect has made to NetSuite.
- Open NetSuite > Setup > Integration > SOAP Web Services Usage Log
- Filter for the date range you attempted to run the integration
- Locate your expected call, and check the RESPONSE value to see if the data sent to SmartConnect is what you expected

Conclusion
If none of these steps revealed/solved the issue with your real-time data source, please reach out to our support team at support@eonesolutions.com.