Skip to content

Error during analysing of the org metadata - Object Missing #1116

@skalitom

Description

@skalitom

Hello,
Retrieving core object works perfectly.
But it seems SFDMU is not able to read some add on objects / fields like the one coming from Revenue Cloud Advanced (RCA is replacing CPQ).

Here's my JSON :

{
    "objects": [        
        {
            "operation": "Insert",
            "externalId": "Name",
            "query": "SELECT Id FROM UsageResource"
        }
    ]
}

And here's what I get from log (no target file generated) :

=== Getting and analysing object metadata ...

[11:37:12.511] Fetching metadata of the UsageResource (Source) ...
Command in progress... done

[11:37:12.765] [ERROR] Error during analysing of the org metadata: The object UsageResource is missing in the Source..
[11:37:12.778] [ERROR] Execution of the command sfdmu:run has been completed. Exit code 3 (ORG_METADATA_ERROR).
[11:37:12.781] Total time elapsed: 00h 00m 04s 232ms .

Similar to this issue, when I try to read UsageModelType field (introduced by RCA), field is not simply ignored :

Command line :
sf sfdmu run --sourceusername mySandbox --targetusername csvfile

Export.json :

{
    "objects": [
        {
            "operation": "Upsert",
            "externalId": "Name",
            "query": "SELECT Id, Name, UsageModelType FROM Product2 LIMIT 1"
        }
    ]
}

Target CSV file / Product2.csv :

Id,Name
01tAP00000GlvcnYAB,MY PRODUCT NAME

As we can see, field UsageModelType is missing

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions