While browsing our Node.js site logs we have noticed the following error...
The problem
While browsing our Node.js site logs we have noticed the following error:
Please log in via your web browser and then try again.
We use Nodemailer with our Gmail account to send emails.
The solution
Logging in to the Gmail account via a browser did exactly nothing of course. Luckily we found some clues in this Stack Overflow answer about Gmail SMTP debug errors.
- Change Gmail account settings to allow “less secure apps”
- Force “captcha update”
Welcome to The infinite monkey theorem
Somewhere a monkey just typed Shakespeare in TypeScript. Be the first to read the masterpieces (and the hilarious misfires) landing on the blog.

