I am following this tutorial https://learn.microsoft.com/en-us/azure/industry/agriculture/ingest-historical-telemetry-data-in-azure-farmbeats to creates a device but it is returning an error. Here is the code I submitted
PS Azure:\> curl -X POST "https://tet-dh1.azurewebsites.net/Device" -H "accept: application/json" -H "Content-Type: application/json" -H "Authorization: Bearer <My access-token>" -d "{ \"deviceModelId\": \"ID123\", \"hardwareId\": \"MHDN123\", \"reportingInterval\": 900, \"name\": \"Device123\", \"description\": \"Test Device 123\"}"*
Here is the error it returns
{"message":"Model validation failed","status":400,"code":"ModelValidationFailed","moreInfo":"[\"Invalid property identifier character: \\\\. Path '', line 1, position 3.\"]"}curl: (6) Could not resolve host: deviceModelId\: \ID123\, \hardwareId\: \MHDN123\, \reportingInterval\: 900, \name\: \Device123\, \description\
curl: (6) Could not resolve host: Device
curl: (6) Could not resolve host: 123}
curl: (7) Failed to connect to * port 80: Connection refused