1. Check also the GroupName property - if( !req.body.WhatsApp /* && !req.body.WhatsApp.GroupName */) { return null; } 2. Reqrite the comment to something like - // for the native client and test chances use