cancel
Showing results for 
Search instead for 
Did you mean: 

Matter Commissioning Failure - Android App sends empty CountryCode

plastikrab
Community Member

 

When commissioning a Matter device via Matterbridge on Android, the Google Home app sends an empty string for the mandatory "countryCode" field. This causes a "Validation-Error 0x87" because the Matter spec requires at least 2 characters. The device then rejects the connection with "ConstraintError 135".

This appears to be a bug in the Google Home Android app's implementation of the setRegulatoryConfig command.

Error logs (simplified):

  • Cluster: GeneralCommissioning (0x30)

  • Command: setRegulatoryConfig (0x02)

  • Error: Validation-Error 0x87

  • Detail: String "" is too short: 0, min 2 in field countryCode

  • Status: ConstraintError (135)

  • Result: Failsafe timer expired / Session ended

Environment:

  • Controller: Nest Mini

  • Mobile App: Google Home (Android)

  • Bridge: Matterbridge / Home Assistant

1 Recommended Answer

arm_dpe
Solutions Expert
Solutions Expert

Thanks for reporting this. Could you please open an issue tracker here(matter template) and share the same details above. I will forward it to internal teams for further investigation.

View Recommended Answer in original post

1 REPLY 1

arm_dpe
Solutions Expert
Solutions Expert

Thanks for reporting this. Could you please open an issue tracker here(matter template) and share the same details above. I will forward it to internal teams for further investigation.