Error with SendGrid Personalization Component: Array Formation and Sample Failed

This topic was automatically generated from Slack. You can find the original thread here.

hi there! Getting a weird error using the sengrid component when trying personalization. I tried to form an array and it failed with this error message. I then tried with the sample provided (screenshot), same error. Thanks!

Hi , could you try to add the brackets around your input {{ }} . For example:

{{ [{to:[{email:"[email@email.com](mailto:email@email.com)",name:"Example"}],subject:"Mail Personalization Sample"}] }}

it worked thanks so much!