Hi Matthew, Please find sample payload to create hive_table entity with replicatedTo attribute:
{ "entity": { "attributes": { "db": { "guid": "3cc0cb04-2d8e-4d39-9bb0-4aefaf950dcc", "typeName": "hive_db" }, "name": "temptable", "owner": "owner", "parameters": {}, "qualifiedName": "db_1.temptable@mycluster0", "replicatedTo": [ { "guid": "15aa1cab-b5e1-46bd-8077-9d00a72026ff", "typeName": "AtlasServer" } ], "retention": 0, "tableType": "MANAGED_TABLE", "temporary": true }, "typeName": "hive_table" }, "referredEntities": {} } Thanks, Keval On Thu, Jun 18, 2020 at 2:39 AM Lynch, Matthew < matthew.ly...@bankofthewest.com> wrote: > Keval, > > > > My name is Matthew Lynch and I’m currently a data governance analyst with > Bank of the West. > > I’ve been using a custom Python script for updating metadata attributes > for entities (primarily hive_tables and hive_columns) through post requests > in v2 REST API. > > However, I’ve encountered an interesting post error that states: > “{"errorCode":"ATLAS-404-00-007","errorMessage":"Invalid instance > creation/updation parameters passed : hive_column.replicatedTo=TestRep: > invalid value for type array<objectid>"}”. > > I’ve been looking all over the place for documentation on what primitive > type values replicatedTo and replicatedFrom attributes can take but have > been unable to find them so far. > > Can you point me in the right direction? > > > > *Matthew Lynch* > > Data Governance Analyst Intern > > _____________________________ > > > > Bank of the West > > 1625 West Fountainhead Parkway > > Tempe, Arizona 85282 > > C: 505.414.8353 > > matthew.ly...@bankofthewest.com > > > > [image: BankPic] > > > ------------------------------ > > > > * IMPORTANT NOTICE: This message is intended only for the addressee and > may contain confidential, privileged information. If you are not the > intended recipient, you may not use, copy or disclose any information > contained in the message. If you have received this message in error, > please notify the sender by reply e-mail and delete the message. * >