Group with invalid code#


This error only applies to primary and secondary schools.

Users are associated with education groups (undervisingsgrupper) through the eduPersonEntitlement attribute. Every education group is associated with a subject. These subjects are identified through codes (fagkoder) in the Grep database.

For example, mathematics for sixth grade has the code MAT0006. It would then be registered with the following entry in eduPersonEntitlement:

The “group with invalid code” error indicates that the code used for a subject is incorrect. We check the codes against the list of valid codes (JSON formatted) in the Grep database. If the code is not found, this error is logged.

See Appendix 3 - Registration of group information within eduPersonEntitlement for more details about registration of groups.


A user may have the following value in eduPersonEntitlement:

Here the group has the code VAL0002, which is not the correct code for this subject (Sal og scene). Instead, the correct code should be VAL0001.