Loading

Data 360: Error During Metadata Deployment for Data 360 Migration via Salesforce CLI

Date de publication: Dec 5, 2025
Description

When migrating metadata between two Salesforce organizations related to Data 360, you may successfully retrieve metadata from the source organization but encounter an error during deployment to the target organization using Salesforce CLI.

Error Message:
"An unexpected error occurred. Please include this ErrorId if you contact support: (Unique Error ID) (334960576)."

Given this issue, migrating metadata via Salesforce CLI is not recommended. Instead, use one of the following methods:

  1. Deployment via UI (Package Manager and Data Kits)
  2. Deployment via DataKit Connect API
Résolution

Deployment via UI:

  1. Create a DataKit:
    • Navigate to Data 360 Setup.
    • In Tools, click Data Kits.
    • Click New.
    • Name the data kit and optionally add a description (e.g., what it contains).
    • Click Save.
    • To add data streams to your data kit:
      • Click Add under Data Streams.
      • Name the data stream bundle and select the data streams.
      • All fields for the objects included in the data kit are deployed.
      • Click Next.
      • View and confirm the data stream bundle details.
      • Click Save.
    • Add additional components as needed:
      • Data Models: Click Add under Data Models.
      • Calculated Insights: Click Add under Calculated Insights.
      • Segments: Click Add under Segments.
      • Click Publish to finalize the data kit.
  2. Publish a DataKit:
    • Navigate to Package Manager in Setup.
    • Create a package or select an existing one.
    • In Components, click Add.
    • Select Data Package Kit Definition for the Component Type.
    • Select your data kit and click Add to Package.
    • To generate your package installation URL, click Upload.
    • Name your package and click Upload.
    • After publishing, install the package in the target org.

Note: Connector names should be added manually in the target org as DataKit currently does not support the addition of ingestion API connectors.

 

Deployment via DataKit Connect API:

Use the Deploy Data Kit Components flow to sequentially deploy all data kit components to the target org.

  1. Workflow Overview:
    • Install the package containing the data kit and its components in the target org.
    • Trigger the flow using the REST API (version 61.0 and later).
  2. Steps:
    • Provide inputs for the flow: data kit name, data space name, and component payload list.
    • Send a POST request to trigger the flow.
    • The flow waits for the deployment status of the previous component before proceeding to the next.
    • The response body includes the Flow_InterviewGuid for tracking.
For additional details, refer to the official documentation: Deploy Data Kit Components.
 
Numéro d’article de la base de connaissances

003876626

 
Chargement
Salesforce Help | Article