One cause of the Script-thrown exception (gfsurveys) on mobile user is that a mobile user is being sent resources from a content library without a Salesforce CRM feature license. These resources, such as videos, PDF's or spreadsheets, are used in a View Resource Task. If a mobile user is assigned Jobs with View Resource Tasks and does not have "Salesforce CRM Content User" checked on their user record, they will receive the following sync error:
Grant the user a CRM Content feature license using the following steps:
- Go to Setup ->Users.
- Click Edit next to the user record.
- Check the Salesforce CRM Content User checkbox.
- Click Save.
Note: To Update many users, use data loader to mass update the field UserPermissionsSFContentUser by setting the value to "True".
Another cause could be that the mobile users have not been added as members of the TaroWorks Library that stores the resources. If mobile users are assigned Jobs that have View Resource Tasks and are not members of the Library, they will hit the error upon sync
Add the affected mobile users to the TaroWorks Library either as individual members or as a Public Group.