Updating Node for Slack bots giving a "certificate has expired" error

This isn’t a question or call for help, I’m sharing this here in case anyone comes here searching for an answer about this particular issue: We had a support ticket last week from someone whose Slack bot wasn’t working and causing this error:

UnhandledPromiseRejectionWarning: Error: certificate has expired

According to the folks at Slack, they had made a change on their end that would cause this for projects running old versions of Node. The way to upgrade/fix your Slack API projects if you have this issue is:

Shouts out to @Elliot_M for initially supporting this user and passing this update along!


This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.