Hi everybody! I am trying to create some container...
# ingestion
h
Hi everybody! I am trying to create some containers and also display it for the Domains. I am using this json file for ingestion:
Copy code
[
  {
    "auditHeader":null,
    "entityType":"container",
    "entityUrn": "urn:li:container:DATAPR",
    "changeType":"UPSERT",
    "aspectName":"containerProperties",
    "aspect":{
      "value":"{\"name\": \"datahub_db\", \"description\": \"DPROD\" }",
      "contentType":"application/json"
    },
    "systemMetadata":null
  },
  {
    "auditHeader":null,
    "entityType":"container",
    "entityUrn": "urn:li:container:DATAPR",
    "changeType":"UPSERT",
    "aspectName":"domains",
    "aspect":{
      "value":"{\"domains\": [\"urn:li:domain:marketing\"] }",
      "contentType":"application/json"
    },
    "systemMetadata":null
  },


  {
    "auditHeader":null,
    "entityType":"dataset",
    "entityUrn": "urn:li:dataset:(urn:li:dataPlatform:hive,SampleHiveDataset,PROD)",
    "changeType":"UPSERT",
    "aspectName":"container",
    "aspect":{
      "value":"{\"container\": \"urn:li:container:DATAPR\" }",
      "contentType":"application/json"
    },
    "systemMetadata":null
  }
]
But I receive this error:
Am I missing anything here?
c
can you try sending mcps one by one and check exactly which is giving error? If you are using python or java, you can use rest emitters provided to avoid directly juggling with json
h
Thanks! I will try