So my code looks like this. This is copied from SendGrid’s docs. I have a similar function for deletion of spam emails and bounce emails. But this function throws an error whenever “Response response = sg.api(request);” is executed. Please help. Answer From your comments, it seems that you are getting a 404 error, which tells you that the data you
Tag: sendgrid
Getting “Cannot use dynamic template data with a legacy template” with non-legacy template
I’m attempting to integrate with Sendgrid and am having a heck of a time. I have created a dynamic template – a new one, not a legacy one – with a single handle bar (first_name) in it. It has a subject. But I’m getting a load of errors that I could use some help with. First the code: Taken almost
Intellij Junit causes java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
I am trying to integrate sendgrid into one of our repo’s that handles emails. But my Junit tests keep throwing the mentioned Exception. I’ve skimmed through most of the posts on here talking about running the jar and issues around cglib and I do have the latest Mockito-all (1.10.19) pulled down. I’m able to build the jar and get it