Duplicated data when importing from CSV file to a MDA object

  • 21 June 2018
  • 3 replies

Userlevel 3
My goal is to have an MDA object being upserted, but I can not tell GainSight which field should be updated and which one should be created.

As you can see in the image below I sent twice the same file with 3 records and they duplicated.

Here is the MDA object Keys

So, how can i set these Keys to upsert this MDA object with my CSV file?

3 replies

Userlevel 4
Hi Ricardo,

Did you use the "Import Data" route in Data Management to load data via CSV? If that's the case, then it would only insert data, not upsert. If you want to perform an upsert operation, consider using the Bulk API connector or the S3 connector. You can use your CSV to upsert data in either case.

Details about those routes can be found here:
S3 Connector
Bulk API

Hope this helps! Do reply if this doesn't work for you.

Userlevel 3
Worked like a charm, i upserted the MDA object using Bulk API (basically cURL command)
Thank you
Userlevel 4
Awesome! Thanks for asking!