Is there a way to set up a HardwareId longer than 32 characters? Is that limit something that will disappear/be increased later on?
Hardware id needs to match the header in the message according to the documentation https://learn.microsoft.com/en-us/azure/digital-twins/concepts-device-ingress#device-to-cloud-message and there it seems that the length limit is 72.
Tried in the preview version of Azure Digital Twin.
POST to create a space with a HardwareID longer than 32 characters
{
"name": "Test",
"typeId": 2,
"hardwareId": "UUID-C1267664F59144D489F35E8335553D4B",
"spaceId": "55af6869-097c-4010-9f5f-c882528b41aa"
}
The REST call returns error:
{ "error": { "code": "400.600.000.000", "message": "Invalid value for parameter(s): 'data.HardwareId'" } }