I am getting "Error: Invalid login: 535 Authentication failed: Bad username / password" I have correct username and password in there but still get this error. What might be the issue..

const sendForgotPasswordEmail = (user) => {
if (!user) { return; }
const token = user.passwordResetToken;
const transporter = nodemailer.createTransport({
service: 'SendGrid',
auth: {
user: process.env.SENDGRID_USER,
pass: process.env.SENDGRID_PASSWORD
}
});
const mailOptions = {
to: user.email,
from: 'mail.mail@com',
subject: 'Reset your password',
text: `You are receiving this email because you (or someone else) have requested the reset of the password for your account.\n\n
Please click on the following link, or paste this into your browser to complete the process:\n\n
http://${req.headers.host}/reset/${token}\n\n
If you did not request this, please ignore this email and your password will remain unchanged.\n`
};
return transporter.sendMail(mailOptions)
.then(() => {
req.flash('info', { msg: `An e-mail has been sent to ${user.email} with further instructions.` });
});
};
createRandomToken
.then(setRandomToken)
.then(sendForgotPasswordEmail)
.then(() => res.redirect('/forgot'))
.catch(next);