Has there been an update that prevents you from hi...
# suitescript
s
Has there been an update that prevents you from hitting a rest api via postman? I'm using oauth1 and now I am getting an unauthorized in all instances. There were no refreshes and no changes, it just no longer connects.
j
I've had no problems connecting. Is this a GET or POST request?
s
It's a post
{
    
"error": {
        
"code": "INVALID_LOGIN_ATTEMPT",
        
"message": "Invalid login attempt."
    
}
}
j
authorization data is being added to the header?
s
Yeah, it's being added to the request headers
j
possible the access token was revoked?
s
I've created a couple of new ones with similar effects
are there any permissions that the role must have?
j
Do you have the SDF installed on the instance? You can just assign with the Developer Role and create the token for that role to test
g
Log in using Access tokens is the permission on the role
👍 1
Are you generating your header within Postman?
s
nah, we do not have SDF on here
j
then @GeneralKenobi is correct, should just need the Access Token permission
s
Dang. Added that permission to the role and having the same result
g
i just tested my sandbox with postman no issue
s
role - permission --> setup --> log in usint access token (true)
message has been deleted
g
I generate my oAuth header outside of postman though. I use a Suitelet in NetSuite for testing Postman
s
I leave it blank and let postman handle it. It's always worked before, but now it does not
g
I got the same error just now using Postman to generate the oAuth header that is interesting.
s
I hate it for you as well, but that makes me feel a lot better lol
j
did you try unchecking "Add empty parameters to signature" ? mine doesnt have that checked
s
@jeffmillies that seemed to get me a step further. Thanks!!
j
Great!