Group with invalid code#
Note
This error only applies to primary and secondary schools.
Users are associated with teaching groups (undervisingsgrupper) through the eduPersonEntitlement attribute. Every teaching 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:
urn:mace:feide.no:go:group:u:MAT0006:NO987654321:6a-matte:2020-08-01:2021-06-15:student:Matematikk%20for%206A
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.
Example#
A user may have the following value in eduPersonEntitlement:
urn:mace:feide.no:go:group:u:VAL0002:NO987654321:2a-sal-og-scene:2020-08-01:2021-06-15:student:Sal%20og%20scene%20for%202A
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.