I am trying to authenticate netsuite through token based I have tried it here but its giving error
{"error" : {"code" : "INVALID_LOGIN_ATTEMPT", "message" : "Invalid login attempt."}}
I referred to code given in the stack solution
I am passing data string as ''
right now because I only want to authenticate.
What may be am missing in the code and can this code can be run without Script id and deploy id?