member.id is returning null for only one specific member

I've had a Discord bot running for over a year, no issue. The bot is running the latest version of discord.js: 14.21.0 on Node.js version 20.6.1.

A specific member that joined the server recently was having issues running some of the commands of my bot, so I looked into it. For THIS member (and no other members), anytime the code references a member id in a SlashCommand (interaction.member.id) the id attribute is null (TypeError: Cannot read properties of null (reading 'id')).

Does anyone know a reason why a specific member's id would be null? Like I mentioned, after a year of the bot running, this is the only individual where their member id comes back null.
Was this page helpful?