• Eugene Eruslanov 3
  • NEWBIE
  • 0 Points
  • Member since 2021

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 0
    Replies
Hi!
I'm taking the Thrailhead training "Develop for Marketing Cloud". I'm trying to create a contact as it's prescribed in the training and getting a strange schema validation error (see below).

Request:
POST https://<mydomain>rest.marketingcloudapis.com/contacts/v1/contacts
{
"contactKey": "example@salesforce.com",
"attributeSets": [{
"name": "Email Addresses",
"items": [{
"values": [{
"name": "Email Address",
"value": "example@salesforce.com"
},
{
"name": "HTML Enabled",
"value": true
}]
}]
}]
}

Response
{
"operationStatus": "FAIL",
"rowsAffected": 0,
"requestServiceMessageID": "795568de-bb94-400d-b000-82592435e8ce",
"responseDateTime": "2021-04-13T17:35:51.8625471-06:00",
"hasErrors": true,
"resultMessages": [
{
"formatStringParams": [
"ValueDefinition",
null,
null,
"HTML Enabled"
],
"messageFormatString": "Unable to resolve schema element of type: {0} by reference. [Id: {1}, Key: {2}, Name: {3}]",
"resultType": "Validation",
"resultClass": "Error",
"resultCode": "SchemaObjectNotFoundByReference",
"message": "Unable to resolve schema element of type: ValueDefinition by reference. [Id: , Key: , Name: HTML Enabled]"
}
],
"serviceMessageID": "d38ed5f4-7583-4fe5-80cd-60a7c09f2f1b"
}cable, include links.
Hi!
I'm taking the training Develop for Marketing Cloud. The training https://trailhead.salesforce.com/content/learn/modules/marketing-cloud-contact-management/learn-about-data-extensions?trail_id=develop-for-marketing-cloud refers to a lot of examples but in order to see them, I need to import some data and then I'll be able to see sample attributes and how they are connected in Data Designer. Is there a way to get the test data that I can import and play with?