TBA Authentication Credentials
Hi I’ve been trying to use token based authentication to authenticate to the SOAP API
I have made enabled SOAP webservices, created an integration record, and created a token for the integration record yet I still get a 400 error.
here is my request in postman
this is what it looks like in the header of my post request to the gettoken endpoint:
OAuth realm=”myaccountid”,oauth_consumer_key=”key from netsuite”,
oauth_token=”token id from netsuite “,oauth_signature_method=”HMAC-SHA256″,
oauth_signature=”my calculated signature”
What am I missing?
Am I making a request to the right endpoint?
Wrong place using the wrong tool. The endpoint you are using is to get an access token. You dont want to use it if you already got an access token from the ui. SOAP also does not use OAuth 1, so you won’t be using any of Postman’s supported authentication types.
Its generally a pain to use postman to work with soap since you have to generate the requests by hand. If you still want to experiment with postman, then you need a pre-request script. Expect to upgrade that script since HMAC1 has been deprecated.