Error Says Missing Required email Field but I have it

Hello,

I’m trying to send a CONTACT sync message, but its giving me an error about missing an email field:

{
 "storeId": "eib-wsm",
 "objectType": "CONTACT",
 "externalObjectId": "6705",
 "hubspotId": null,
 "lastProcessedAt": 1604596977126,
 "errors": [
 {
 "portalId": 8172849,
 "storeId": "eib-wsm",
 "objectType": "CONTACT",
 "externalObjectId": "6705",
 "changedAt": 1604596976187,
 "erroredAt": 1604596976478,
 "type": "MISSING_REQUIRED_PROPERTY",
 "details": "Message missing required fields [email]",
 "status": "OPEN"
 }
 ]
}

But as you can see in my request below, I have the email property included

{
 "storeId": "eib-wsm",
 "objectType": "CONTACT",
 "messages": [
 {
 "action": "UPSERT",
 "externalObjectId": "6705",
 "properties": {
 "email": "xxxx@gmail.com",
 "firstname": "XXXX",
 "lastname": "XXXX"
 },
 "associations": {

 }
 }
 ]
 }

Can somebody help me out with this?

I figured it out. Property names need to be the external name set in the mappings, not the Hubspot name

Hey @eibach-cv !

Thanks for posting the solution! Going to accept it as the solution because, by golly, you deserve it :smiling_face_with_sunglasses: