2

I'm having some trouble with importing Json file which containing data in SObject using

sfdx force:data:tree:import -p ./data/Project__c-Round__c-plan.json

It spits out an error which is:

ERROR running force:data:tree:import: The requested resource does not exist

I have double checked the path and also existence of the json itself in folder data.

this is the Project__c-Round__c-plan.json

    [
        {
            "sobject": "Project__c",
            "saveRefs": true,
            "resolveRefs": false,
            "files": [
                "Project__cs.json"
            ]
        },
        {
            "sobject": "Round__c",
            "saveRefs": false,
            "resolveRefs": true,
            "files": [
                "Round__cs.json"
            ]
        }
    ]

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.