I am trying to integrate to suitetalk REST api wit...
# suitescript
d
I am trying to integrate to suitetalk REST api with postman but getting 401 Unauthorized error: 'Invalid login attemp' but tokens are correct. any idea why can i get this error?
n
Check your signature method is set to HMAC-SHA256 and check your realm is set up properly
message has been deleted
d
its fine. still 401
n
Headers should have Content-Type and Accept
d
what parameters they have?
n
Typically application/json
d
still same error 401.. if its was content type error it whould tell me in postman
n
yeah it should. What about this box down at the bottom of the authorization. I always have it checked
d
its checked
i think its somewhere in the configurate of the user/role
in netsuite
n
Could be. Something like the Log in using Access Tokens permission
d
strage becouse i have evreything they want
strange
n
Dang. That is strange. Maybe something with the integration/tokens setup?
d
I have the correct tokensm and using TBA tokens checkbox in the integration record
n
ummmmm hmm. Maybe trailing spaces in the tokens inside postman?
d
I think i figure it out
I need to check the REST Web Services (beta) in enable features
and i dont have it yet, so i need to request participation for beta testing
n
ohh. Makes sense. Good catch
b