OH4:{token=The value 7c9d4231446e6c6452aea782 does not match the pattern ^([A-Fa-f0-9]{96}|[A-Fa-f0-9]{32}|.{16})$.}

Good evening!

Xiaomi Smart Home Hub 2.2 and temperature sensor miaomiaoce.sensor_ht.t2

I managed to connect to the cloud, conect to the hub, for wich the token is obtained and accepted.
But for the temperature sensor, the token is shorter and is not accepted by OH4 with the message in the title. I checked with othet programs, the token in the cloud is that which is in the error message that is in the title.

Could I somehow escape the token check, or what would be the solution?
The devices work well in the android mi home app.

Thank You,
Sanyi.

Solved. The token retrieved by the OH was not the proper token.