I have DataExtension and an email, when I try sendpreview I can see all emails as Invalid Recipient.
I have no idea why these emails are Invalid?
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.
Sign up to join this communityI have DataExtension and an email, when I try sendpreview I can see all emails as Invalid Recipient.
I have no idea why these emails are Invalid?
This error generally appears if Data extenssion has some other attribute other than email address as primary key and there are more than one field of type Email Address.
On trying to click preview, system will not be able to determine the Email address to be displayed. To resolve the issue, you should make one of the email address column of type Text. Else your subsciber list should be updated with the subscriber key and email address.
Easiest Solution is to run the email through validation against the data extension. The validator will provide some more insights into why it is throwing an error. (walkthrough for classic content editor) Below is a sample image of where to find the validate tool in Content Builder.
If the validator runs with no errors, you should start looking into your script and see if you have any if statements that are 'run only at X environment' (usually based on messagecontext or isTestSend). This is likely where your issue would be.