If you encounter the following error when connecting via the Devart ODBC Driver for NetSuite:
Error: [Devart][ODBC][Netsuite] "Invalid login attempt"
Make sure that Token-Based Authentication (TBA) is enabled for the integration you're using in your NetSuite account.
How to Investigate the Issue
To get more information about the failed login attempt:
1. In NetSuite, go to Setup > Users/Roles > View Login Audit Trail.
2. Enable Use Advanced Search.
3. Add Detail as one of the result columns.
4. Check the Detail column for specific information explaining why the login failed.
How to Set Up TBA Tokens
A step-by-step guide for generating and configuring TBA tokens is available in the Devart documentation: