RE: 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

RE: TBA Authentication Credentials

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_timestamp=”1640727651″,oauth_nonce=”0is2I5BowJi”,oauth_version=”1.0″,
oauth_callback=”http%3A%2F%2Flocalhost%3A%2A”,
oauth_signature=”my calculated signature”

 

What am I missing?

Am I making a request to the right endpoint?

grace_m Rookie Asked on December 28, 2021 in SuiteTalk.
Add Comment
3 Answers

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.

Advanced Answered on December 29, 2021.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.