I’m having an issue adding an identity attribute to my SalesForce attribute sync.
I have an identity attribute called Work Phone Number (workPhone)
Here is my request body
{
"attributes": [
{
"enabled": false,
"displayName": "att_email",
"name": "email",
"target": "Email"
},
{
"enabled": false,
"displayName": "Preferred Name",
"name": "preferredName",
"target": "FirstName"
},
{
"enabled": false,
"displayName": "att_last_name",
"name": "lastname",
"target": "LastName"
},
{
"enabled": false,
"displayName": "att_email",
"name": "email",
"target": "FederationIdentifier"
},
{
"enabled": false,
"displayName": "Employee Number",
"name": "identificationNumber",
"target": "PersonnelNumber__c"
},
{
"enabled": true,
"displayName": "Work Phone Number",
"name": "workPhone",
"target": "Phone"
},
{
"enabled": true,
"displayName": "Business Mobile Phone Number",
"name": "businessMobilePhoneNumber",
"target": "MobilePhone"
}
],
"source": {
"id": "b410eb81d4b04e8f8c21211f93804672",
"type": "SOURCE"
}
}
And the response
{
"messages": [
{
"localeOrigin": "DEFAULT",
"locale": "en-US",
"text": "Validation failed with following errors: Identity Profile is missing attribute with display name \"Work Phone Number\""
},
{
"localeOrigin": "REQUEST",
"locale": "en-US",
"text": "Validation failed with following errors: Identity Profile is missing attribute with display name \"Work Phone Number\""
}
],
"detailCode": "400.1 Bad request content",
"trackingId": "3d3ac21d06fd4dd6a2150560d97654bf"
}