Hi Folks – Sorry to hear that you’re having trouble accessing custom user data within Stitch. After scanning the documentation looks like there might be a typo in the sample code, we believe –
const speaksEnglish = user.profile.customData.primaryLanguage === "English";
Should be –
const speaksEnglish = user.customData.primaryLanguage === "English";
We’ve filed a ticket to update our documentation. If that doesn’t resolve your issue, would you mind either posting or sending me directly an example document from your users collection (with any PII removed).