Inquiry Regarding CONSTRAINT_ERROR (Status 126) with AddGroup Command in Matter Device

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:

  1. Run the following command:

    bash
    ./chip-tool-debug groups add-group 0x0001 "Gp1" 114 1  
  2. The command fails with the following response:

    json
    AddGroupResponse: {  
      status: 126,  // CONSTRAINT_ERROR  
      groupID: 1  
    }  

What I’ve Already Tried:

  1. Verified Groups Cluster Support:

    • The device responds to AddGroup commands, confirming that the Groups cluster is implemented.

    • Used descriptor read server-list to confirm the Groups cluster (0x0004) is present.

  2. Tested Alternative Group IDs:

    • Tried different Group IDs (e.g., 0x01010x10011000) and simpler group names (e.g., "Test").

    • All attempts resulted in the same CONSTRAINT_ERROR.

  3. Checked Device State:

    • Read the group-table and group-names attributes, both returned empty lists.

      Confirmed the device is not already a member of any group.

Related