Hi, Looking for some suggestions. Downloaded the R...
# suitetalkapi
g
Hi, Looking for some suggestions. Downloaded the REST API Postman Collection. I added all the roles as described in the documentation. I am still getting a 401 error. And then then when I look at the login audit trail I see it says EntityOrRoleDisabled under detail. Any ideas? are any more specific permissions needed for the requests in the collection?
b
have you checked that both the role and the user you are using for your tokens are active
g
User says active. Inactive is NOT checked on the Role
b
which role are you using
g
I made my own with the permissions that were detailed in the doc. The user is also an admin
b
id try the user with admin assigning themselves a token as administrator, and then use those tokens
guaranteed active user and role
g
I did that first and didnt work.... But I had less of an understanding then - i should get new tokens etc after cleaning out that role and just assigning permissions to the user as an admin?
b
Im not sure what this assigning permission thing is
User access tokens are created for a user/role combination
If you use the actual Administrator role, you are guaranteed to have a active role that has the required permissions
And the way an Administrator level token is created requires the user to be active
g
e
b
you assign permissions to a role if it doesnt already have the required permissions
administrator has all of them, you wouldn't add permissions to it, nor can you
g
When I just have my role set to Admin - then there is no role available in the drop down to create the token.
and then when I added Netsuite Support Center role (as a test to see if anything would come up - it did
I made a new role (again) and set it to Webservices Only and set it to my user and it worked now! Thanks for all your help @battk
😲 1
b
Administrator must be assigned via Manage Access Token
🤔 1