Hi @Deep_Sleep_Test ,
I had a similar issue with creating contacts and my solution was to format the email_addresses field differently.
Maybe give that a try and see if it gets you any further.
{
"email_addresses": {
"0": {
"email": "divyesh7@softsages.com",
"field": "EMAIL1"
}
}
}
I found an answer after rereading @Andrew_Johnson ’s post and finding this post in the forums:
In my case the email_addresses field needed to be a multidimensional array. I corrected my code to produce the following output:
{
"email_addresses": {
"0": {
"email": "name@email.com",
"field": "EMAIL1"
}
}
}
It would be extremely helpful if somewhere between the SDK and the API could give more detailed feedback as to which element of the input is invalid.