When I execute the command
sfdx force:source:deploy -u o14 -p CPQFields
I receive an error The "path" argument must be of type string. Received null
, despite the path CPQFields is not null and contains many
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.
Sign up to join this communityLooks like the culprit was invalid folder structure, when I copied fields, by accident I copied the fields
folder only, while intended was objects/Product2/fields
The wrong folder structure which was raising the error that the path is null:
CPQFields
-fields
-- Type__c.field-meta.xml
The correct folder structure which works well:
CPQFields
-objects/Product2/fields
-- Type__c.field-meta.xml