Skip to main content

KI-71

Veeva Vault integration throws error for large file sizes

Key/Summary

KI-71 Veeva Vault integration throws error for large file sizes

Status

Done

Created

01/27/2022

Updated

09/01/2022

Description

When attempting to attach a Veeva Vault file with a size larger than 2147483647 bytes to a Request, this error occurs:

Size: value not of required type: 2827479514

Impacted Capabilities

Inquiry Management

Affected Apps

Medical Information Cloud - Classic

Medical Information Cloud - Lightning

Affects Versions

V9, MIC V10, MIC V11

Fix Version

V12

Steps to Reproduce

  1. In Veeva Vault, add a file with a size greater than 2147483647 bytes.

  2. In Medical Information Cloud, create an Interaction record and then a Request record.

  3. Use the Request Content Search component on the Request record to search for the file you added to Veeva Vault.

  4. Click the Add icon next to the Veeva Vault file. The Size: value not of required type: 2827479514 error occurs, and the file is not attached to the Request record.

Workaround

Delete the CMS Field Mapping (MED_Document_Field_Mapping__mdt) record for the Size (MED_Request_Document__c.MED_Size__c) field.