In /etc/passwd my group is 2001.

In /etc/group, group 2001 has no list of userids.

When my C program attempts to do initgroups specifying my userid with groupid 2001 it fails. How come?