This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Description
I am attempting to set the following on load of a metadata record and below that is the error message I am getting:
- Field Label: Source_Object__c
- Field Type: Metadata Relationship(Entity Definition)
- Field Label: Source_Field__c
- Field Type: Metadata Relationship(Field Definition)
- Field Label: Target_Object__c
- Field Type: Metadata Relationship(Entity Definition)
- Field Label: Target_Field__c
- Field Type: Metadata Relationship(Field Definition)
CSV file example:
Label | Work_Order_Cadence__c | Relationship_Name__c | Source_Object__c | Source_Field__c | Target_Object__c | Target_Field__c
Premium 3 Case 5 | Premium_3 | Account | Account | BtbPrimaryTechnician__c | Case | BtbPrimaryTechnician__c
Error Message:
Errors occured processing component Record_Creation_Mapping.Premium_3_Case_6. Field Secondary Technician in account is not available in this org due to insufficient privileges. (FIELD_INTEGRITY_EXCEPTION). Fields Source_Field__c. Field Secondary Technician in case is not available in this org due to insufficient privileges. (FIELD_INTEGRITY_EXCEPTION). Fields Source_Field__c.
I created metadata records with these field types in other lines and it worked. My user in Salesforce has the System Administrator profile and edit access to both of those fields on Case and Account
Let me know if you need more information
Thanks