ANS-1214 · WEB SERVICES & INTEGRATIONS
How to Diagnose Invalid Login Attempts for NetSuite Web Services with Token Authentication
Troubleshoot failed NetSuite web services logins using token authentication by examining the Login Audit Trail for specific error details.
Short answer
To diagnose invalid login attempts for NetSuite web services with token authentication, access the Login Audit Trail. Add the 'Detail' column in the Results sub-tab to reveal specific error messages such as nonce_rejected, InvalidTimestamp, or token_rejected, which pinpoint the cause of the authentication failure.
Scenario
Users attempting to integrate external systems with NetSuite via web services using token authentication may encounter 'Invalid Login Attempt' errors. These errors prevent successful API calls and require specific diagnostic steps to identify the root cause of the authentication failure.
Solution
To diagnose the cause of an invalid login attempt when calling NetSuite through web services with token authentication, follow these steps:
Navigate to Setup -> Users/Roles -> View Login Audit Trail.
On the Results sub-tab, add the 'Detail' column to the displayed results.
Click Submit to refresh the audit trail with the new column.
Examine the 'Detail' column for the specific invalid login attempt. This column provides granular information regarding the failure, such as:nonce_rejectedInvalidTimestamptoken_rejectedThese details help pinpoint the exact reason for the authentication failure, enabling targeted troubleshooting.
Expert NetSuite Support
Need help with this NetSuite issue?
Web Services & Integrations consulting and configuration support
