I am following the SuiteAnswers guide to setup POS...
# suitetalkapi
n
I am following the SuiteAnswers guide to setup POSTMAN for REST services and have went through it 5 times now and still getting "Invalid Login". I feel like there is a gap in the documentation. Any tips?
I downloaded the collection. Setup my Integration and Access Token. Copied those keys into Postman and tested. Seemed pretty straight forward but still an error.
Maybe a pre-request script is needed?
m
Make sure any calls you make are from within the Collection provided by NetSuite. Not just using the environment you configured. A few times I have saved a call into the wrong collection and had this problem.
Of course, all of the fields shown in the Auth tab of the collection must be set (e.g. don't overlook REALM)
b
you shouldnt need to mess with the auth tab of the collection if you are using netsuite's collection and environment
there are 6 keys that you need to set in the environment, setting more breaks things
m
I only meant to make sure the fields in the auth tab of the NS collection are configured in the environment
er yes, what you said @battk
b
otherwise normal debugging is checking the login audit trail
n
@Mark Christensen - yep doing all of those things.
@battk login audit trail just says "failure"
b
follow all the directions in the docs
b
If you're using a TSTDRV account, make sue you include the TSTDRV prefix in your ACCOUNT_ID variable value, and make sure it is all caps.
n
Thanks @Bruce Backman but its a sandbox account
@battk tried again, step by step with someone else watching my every move. No luck.🤣 Guess I'll create a support case
b
the docs document how to get the details associated with the failed login
should be more than simply the status
c
It may be the postman configuration, check the request header and confirm all of the parameters exist in the header it self.