SendGrid Batch Emailer Error

Hi Tada Community-

I need some assistance. I am attempting to use the SendGrid Batch Emailer but I am running into an error. The following JSON in the “Request” section of the Pipe is structured as:

{
    "emailList": {
        "tableId": "kOGQ3ogQln",
        "emailFieldId": "field_922",
        "lastContactedDateField": "field_925"
    },
    "messageSource": {
        "tableId": "JDXQ8E0jYR",
        "recordId": "{Record ID}"
    },
    "message": {
        "subject": "SIR Recorded - {field_632} - {field_1638}",
        "content": "<b>Dear {field_39}</b>, <br> A new job for {field_42} for has been added. The salary is <strong>${field_44}</strong> and the description is: {field_43}. <br><br> Please click here to see learn more about our latest job.",
        "plainText": "Dear {field_39}, A new job for {field_42} for has been added. The salary is ${field_44} and the description is: {field_43}. Please click here to see learn more about our latest job.",
        "attachmentField": "field_46"
    },
    "configuration": {
        "fromEmail": "XXXX@safety-u.com",
        "fromName": "Resilence Hub",
        "replyTo": "XXXX@safety-u.com",
        "logMessages": "true",
        "updateEmailListOnEachSend": "true"
    },
    "messageLogs": {
        "tableId": "m72Npa5Qwv",
        "contactFieldId": "field_1748",
        "messageSourceFieldId": "field_1770",
        "message": "field_1749",
        "date": "field_1750",
        "status": "field_1751"
    }
}

However, I am getting the following error in the Response:

            "response": {
                "type": "error",
                "msg": "Invalid Email supplied in: Recipient Email"
            }

field_922 is an email field in the table kOGQ3ogQln. Does anyone know what could be the issue for not sending emails?

Thanks in advance,
Adam

  • Any empty records you provide to SendGrid?
  • Extra space character before or after the email in field_922
  • Inproper format, p.e. missing @ - sign
  • A special character not allowed in a proper email
  • If multiple emails - are they comma-seperated?
  • Is one of the emails maybe a blocked/black list email?

Testing:

  • Did you hardcode the email, to see if it works?
  • Are you logged-in in Sendgrid?

I am not English origin, but here seems to by a typing error:
“fromName”: “Resilence Hub”,

Good luck, I hope you can rule out some of the above.

Hey @SafetyUniversity I don’t see that API call in the Send Grid pipe. Are you creating a custom API call?

Hi @Kristen, this is straight from the Tadabase SendGrid Batch Emailer pipe. There is not API call available to change in the pipe.

@Peter, thanks for the ideas. I confirmed all is 100% accurate and changed the title of Resilience Hub.

Thanks,
Adam

What kind of field is this?

Ahh yes I see that now, thanks for clarifying! So I need to read everything on my screen?? :face_with_peeking_eye:

Hi @moe

It is an email field.

Well this is a bit odd, I tested it now and still get the error but the actual emails are coming through. :man_shrugging:

No idea what magic happended…