function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Iago SilvaIago Silva 

Salesforce DX deployment issues

Hello everyone

I'm trying to push my development to a scratch org but I'm facing some issues:

User-added image

The objects 'CustomerCreditData__c' and 'OpportunitySegment__c' have master-detail fields to Account and Opportunity objects, respectively, and these fields already exist in the scratch org.

Also, I've enabled 'Einsten Lead Scoring' in the scratch org but I have no access to the component when I try to create a Lightning Page to the Lead object (third error in the print).

And I don't know what means the last two errors too.

Someone can help me?
Thanks in advance.
nidhusha rachamadugunidhusha rachamadugu
To avoid getting this error, add the master-detail field (even if it has not been changed) to your deployment and the error will not occur anymore. The custom fields of that custom object should be added as well to the changeset.

Please use the below article for reference
https://help.salesforce.com/articleView?id=000334872&mode=1&sfdcIFrameOrigin=null&type=1