Riva Cloud or Riva On-Premise may fail to sync NetSuite users due to a "Permission Violation: You need the 'Lists -> Employees' permission" error.
Examination of the Riva logs would reveal an error similar to this sample:
2012-07-18 18:12:10,493 ERROR [1HYFGP0DVL6O] Operation failed: User does not hold the necessary privileges to perform the operation with roleId(), [Code=INSUFFICIENT_PERMISSION] Permission Violation: You need the 'Lists -> Employees' permission to access this page. Please contact your account administrator.. Please Check User's permission.
RoleId: 1022, RoleName: Sales & Support Role - BA Reps
RoleId: 1025, RoleName: Employee Center - BA
RoleId: 1045, RoleName: Sales & Support Role-web service
In this case, the NetSuite user configured in the Riva connection does not have a default web services role:
User does not hold the necessary privileges to perform the operation with roleId()
When the Riva CRM Agent service attempted to sync for the specified target user, NetSuite reported that the default role (the role that the user first logged into NetSuite with) does not have sufficient permissions. Riva indicates roleID numbers for the multiple roles assigned to the connection user.
The NetSuite user that is configured in the Riva CRM connection (Riva connection user) must be configured with a role that has sufficient permissions. There are two options:
For detailed instructions, see Prepare a Riva Connection user for NetSuite.
Article ID: 831
Last updated: 20 Oct, 2016
Also listed in
Riva On-Premise - CRM Sync -> Manage Riva On-Premise (Admin Guides) -> CRM Systems -> NetSuite CRM -> Errors & Troubleshooting