Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
('HY000', '[HY000] [INVALID_LOGIN] Invalid login attempt.
Error Message -
('HY000', '[HY000] [INVALID_LOGIN] Invalid login attempt. For more details, see the Login Audit Trail in the NetSuite UI at Setup > Users/Roles > User Management > View Login Audit Trail. Unauthorized. (-1) (SQLExecDirectW)')
My NetSuite Administrator setup token based access and after using this OAuth (token based access) in my python code, i am getting the above Error.
Here is my Python code -
I am using pyodbc
[Removed]
while doing this select, it gives me 401 unathorized error and invalid login attempt
cursor = cnxn.cursor()
cursor.execute("SELECT InternalId, AcctName FROM Account where InternalId='5648'")
My Administrator looked into the Login Audit Trail and it is empty.
0