I am an integration partner trying to connect to N...
# general
s
I am an integration partner trying to connect to Netsuite's REST web service using PostMan. My role has all the required permissions (basically the same as admin), a bearer token has been issued and the integration has been set up as follows The error message received when trying to connect is { "type": "https://www.rfc-editor.org/rfc/rfc9110.html#section-15.5.2", "title": "Unauthorized", "status": 401, "o:errorDetails": [ { "detail": "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.", "o:errorCode": "INVALID_LOGIN" } ] } Following is the login audit trail details attached in screenshot: Any help regarding this will be highly appreciated.
b
you want to be looking for the details of the failed login when you made your request
if its not there, your url or realm are wrong
s
i cross checked the url and realm they appear fine. how can I track the failed login audit?
b
that login audit trail is where all failed logins go
so its your primary choice for logs
if there is no log, you messed, up badly enough that the logs arent reaching the correct place, which is usually a problem related to the account id
which goes in the realm, and of which a normalized version goes in the url
if you are working in an account that isnt on production, those two should not be the same