Dear Nordic Team,
I hope this email finds you well.
I am currently working on integrating group functionality with a Matter device (Node ID: 114, Endpoint ID: 1) using the chip-tool command-line utility. However, when attempting to add the device to a group using the AddGroup command, I consistently encounter a CONSTRAINT_ERROR (status code 126). Could you please help me identify the root cause? Below are the details of my setup and the issue:
Steps to Reproduce:
-
Run the following command:
bash./chip-tool-debug groups add-group 0x0001 "Gp1" 114 1
-
The command fails with the following response:
jsonAddGroupResponse: { status: 126, // CONSTRAINT_ERROR groupID: 1 }
What I’ve Already Tried:
-
Verified Groups Cluster Support:
-
The device responds to
AddGroupcommands, confirming that the Groups cluster is implemented. -
Used
descriptor read server-listto confirm the Groups cluster (0x0004) is present.
-
-
Tested Alternative Group IDs:
-
Tried different Group IDs (e.g.,
0x0101,0x1001,1000) and simpler group names (e.g., "Test"). -
All attempts resulted in the same
CONSTRAINT_ERROR.
-
-
Checked Device State:
-
Read the
group-tableandgroup-namesattributes, both returned empty lists.Confirmed the device is not already a member of any group.
-