Array of objects expected in parameter 'ccRecipients'

Hi everyone,

I’m having trouble with the Microsoft 365 Email (Outlook) module in Make. When I try to send an email and include recipients in the ccRecipients field, I get the following error: “Array of objects expected in parameter ‘ccRecipients’”

Here’s how my data is structured:

json

{
  "Name": "xxx@hotmail.com",
  "Address": "xxxx@hotmail.com"
}

I tried building the array like this:

json

[
  {
    "EmailAddress": {
      "Name": "xxx@hotmail.com",
      "Address": "xxx@hotmail.com"
    }
  },
  {
    "EmailAddress": {
      "Name": "xxx@gmail.com",
      "Address": "xxx@gmail.com"
    }
  }
]

But it still doesn’t work. I’m not sure if the issue is with the casing of the keys (EmailAddress, Name, Address), or with how I’m mapping the data inside Make.

:backhand_index_pointing_right: Has anyone successfully configured the ccRecipients field with a proper array of objects? I’d really appreciate a working example or any advice on how to structure this correctly.

Thanks in advance for your help!

Welcome to the Make community!

Take a look at How to send emails to multiple email addresses in the BCCs using Gmail?

Hope this helps! Let me know if there are any further questions or issues.

@samliew
P.S.: investing some effort into the tutorials in the Make Academy will save you lots of time and frustration using Make!