better error message in case of missing uids

Showing the offending users.