Check out Oracle NetSuite upcoming events and conferences here
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!
Update your Profile with your Support type to get your Support Type badge.
Expand your NetSuite knowledge by joining our Ask A Guru Live sessions. RSVP on this event now.
Discover NetSuite's potential! Join our webinars, learn from experts, and optimize your operations. Whether you're experienced or new, secure your spot today and stay ahead in NetSuite!
Share with colleagues and friends who could benefit from our webinars too!
NetSuite Support Community Gurus schedule during the Holiday Season.

In observance of Public Holidays and Oracle Mandatory Year-End break, our NetSuite Support Guru Team will be offline on December 25 to 29 and January 1, 2024.

The NetSuite Support Community site will be up and running on the dates mentioned above, and you may continue to post your questions and discussions. Our NetSuite Support Gurus will respond to unanswered questions posted during the holiday break once we resume normal operations on January 2, 2024.

We wish you a safe and enjoyable Holiday Season. We are grateful for your participation and contributions in the community, and we look forward to collaborating with you in 2024.

Thank you,
NetSuite Support Community Team

('HY000', '[HY000] [INVALID_LOGIN] Invalid login attempt.

edited Apr 11, 2022 7:54PM in Ask A Guru 6 comments

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


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.

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!


Community Whiz

Quarter 4 (Nov 2023)

This Week's Leaders

This Month's Leaders

All Time Leaders