SendGrid API 400 – Nginx
I'm trying to follow SendGrid's integration here with no luck. Currently I'm trying to send an email on login (just so I have a quick way to test it), and I keep getting 400 Bad Request as a response. I've…
I'm trying to follow SendGrid's integration here with no luck. Currently I'm trying to send an email on login (just so I have a quick way to test it), and I keep getting 400 Bad Request as a response. I've…
i'v been stuck for quite while now i get this error which says UnhandledPromiseRejectionWarning which is not the case i did catch error in my form controller npm version "@sendgrid/mail": "^6.4.0" when i try to send email using postman Body…
// this is my code //unable to send email using sendgrid // finding email from body exports.signUp=async (req,res)=>{ const userExists = await User.findOne({ email: req.body.email }) if(userExists){ return res.status(400).json({ error:"eamil is already taken" }) } const token = jwt.sign(req.body, process.env.ACCOUNT_ACTIVATION,{expiresIn:'20m'})…