Invalid Contact for 'Create Transaction Contacts Import' API | XM Community
Skip to main content

Hi,
I am using the 'Create Transaction Contacts Import' API to import a contact and getting an error "must provide at least 1 valid contact". I have the batch ID and the parameters in the JSON. Thanks.

{
  "transactionMeta": {
  "batchId": "-------",
  "fields": l
   "string"
  ]
  },
 "contacts":
  {
   "firstName": "Larry",
   "lastName": "Wang",
   "email": "larry@gmail.com",
   "phone": null,
   "extRef": "13093190",
   "language": null,
   "unsubscribed": true,
   "transactionData" : {}
  }
 ]
}

I had a similar issue and resolved it by
...
 "fields":
   ""
  ]
...
"transactionData" : {"":""}
...


https://qualtricsxm79bfcvw9l.au1.qualtrics.com/jfe/preview/previewId/60ddb6fc-80ad-404d-a9f7-f1b042d65e38/SV_e9vzB1JMDMNYFQW?Q_CHL=preview&Q_SurveyVersionID=current


Leave a Reply