I'm creating a flow that copies all contacts from one outlook account to another. The flow actually works but still reports an error "Property emailAddresses in payload has a value that does not match schema".
So far I've tried to:
It seems the email array must not be assigned at all if there are no email addresses. Assigning empty arrays or arrays with empty strings always results in the error "Property emailAddresses in payload has a value that does not match schema". Interestingly the flow still executes fine and all contacts are copied properly.
Any workarounds to prevent the flow from failing (or indicating it has failed)?
Ideally, what I would like to do and seems very logical: just assign the email array from the source contact to the destination contact. Like so:
Update:
I just found out that some contacts did not synchronize. One example had an email like this in the source contact:
[
{
"name": "",
"address": ""
},
{
"name": "",
"address": ""
},
{
"name": "",
"address": ""
}
]
and the resulting error was:
{
"error": {
"code": "ErrorInvalidArgument",
"message": "The e-mail address that was supplied isn't valid.",
"innerError": {
"request-id": "bef2c5ea-7418-4bac-93cf-d9c3e0861694",
"date": "2020-04-30T19:33:57"
}
}
}
stampcoin
51
Michael E. Gernaey
39
Super User 2025 Season 1
Chriddle
21
Super User 2025 Season 1