jk121960
jk121960

Reputation: 873

SuiteScript custom segment Permissions

I am working SS2, and I am attempting to access a column on a record that is a custom segment, I need to get the text value of the field. I am getting the following error. "Permission Violation: You need a higher permission for value management of custom segment" I have not seen this before. Is there a specific permission that I need to access this from a script? The code is running in a restlet that is accepting data from the outside, taking in updates and sending it back out to the caller.

Any help would be great thanks

Upvotes: 0

Views: 1118

Answers (1)

Sachin Savale
Sachin Savale

Reputation: 139

"Permission Violation" error basically occurs because of the role you re using while authenticating the Restlet doesn't have rights to access that record. To Resolve this issue, assign rights to the role you re using. You don't have to change anything in the Script

Upvotes: 1

Related Questions