User encounters the following error message when using the API Library:
com.veeva.clm.getSurvey_Object: Unable to get Survey Name. Code <line number>. Message:getDataForObject: getDataForObject called with an record ID that cannot be accessed: <record id>
One reason for this error is that the survey record is not downloaded to iRep.
The user has permission for the relevant survey record. However, if it is not downloaded, the user cannot access it when using API Library in CRM iRep.
Check if VMobile Object Configurations (VMOC) records for Survey object is preventing required records from being downloaded.
To access VMOC for the Survey object, please open the VMobile Object Configurations tab from the Salesforce home page.