You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating an Edge device model in the portal, once you have provided the information required for the device model and its associated modules, it should be created in the base and displayed in the list.
Current Behavior
An error occurs when attempting to create an Edge Device Model.
The specific error message is :
POST https://localhost:8001/api/edge/models 422 (Unprocessable Content)" indicating a validation issue. The network tab in the browser's developer tools shows the error details: {"type":"https://httpstatuses.io/422","title":"One or more validation errors occurred.","status":422,"traceId":"00-f2cc2baa432a291632270d2929c4dde4-21048cd8b505e3b6-00","errors":{"EdgeModules[0].Version":["The component version is required."]}
Steps to Reproduce
Navigate to the Edge Device Model creation page on the IoT Hub Portal.
Fill in the following fields for the Edge Device Model:
Expected Behavior
When creating an Edge device model in the portal, once you have provided the information required for the device model and its associated modules, it should be created in the base and displayed in the list.
Current Behavior
An error occurs when attempting to create an Edge Device Model.
The specific error message is :
POST https://localhost:8001/api/edge/models 422 (Unprocessable Content)" indicating a validation issue. The network tab in the browser's developer tools shows the error details: {"type":"https://httpstatuses.io/422","title":"One or more validation errors occurred.","status":422,"traceId":"00-f2cc2baa432a291632270d2929c4dde4-21048cd8b505e3b6-00","errors":{"EdgeModules[0].Version":["The component version is required."]}
Steps to Reproduce
-- Edge Agent: (name: "edgeAgent", imageURI: "mcr.microsoft.com/azureiotedge-agent:1.1", containerCreateOption left empty)
-- Edge Hub: (name: "edgeHub", imageURI: "mcr.microsoft.com/azureiotedge-hub:1.1", containerCreateOption: {"HostConfig":{"PortBindings":{"5671/tcp":[{"HostPort":"5671"}],"8883/tcp":[{"HostPort":"8883"}],"443/tcp":[{"HostPort":"443"}]}}})
-- Name: "TestModule1"
-- imageURI: "mcr.microsoft.com/azureiotedge-simulated-temperature-sensor:1.0"
** Browser : Microsoft Edge**
** Operating System: Windows 10**
Additional Information
The text was updated successfully, but these errors were encountered: