Facing issue in GET , SET & ADD device API. #102
Closed
praveen2211
started this conversation in
General
Replies: 2 comments 3 replies
-
Your device appears at frontend devices list? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Please find Response for ADD end point { |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@leandrofars I am able to bring up the copde and register device with USP but facing issue while GET and SET end points.
Request URL -
Response in postman for GET - api/device/os::4851CF-000000000002/get
{
"req_path_results": [
{
"requested_path": "Device.WiFi.SSID.[Name==wlan0].",
"err_code": 7016,
"err_msg": "DM_PRIV_GetNodeFromPath: Path is invalid: Device.WiFi.SSID."
},
{
"requested_path": "Device.IP.Interface..Alias",
"err_code": 7016,
"err_msg": "DM_PRIV_GetNodeFromPath: Path is invalid: Device.IP.Interface."
},
{
"requested_path": "Device.DeviceInfo.FirmwareImage..Alias",
"err_code": 7016,
"err_msg": "DM_PRIV_GetNodeFromPath: Path is invalid: Device.DeviceInfo.FirmwareImage."
},
{
"requested_path": "Device.IP.Interface.1.IPv4Address.1.IPAddress",
"err_code": 7026,
"err_msg": "CheckPathProperties: Path (Device.IP.Interface.1.IPv4Address.1.IPAddress) does not exist in the schema"
}
]
}
Error while performing SET operation
Request - /api/device/os::4851CF-000000000002/set
Response -
{
"updated_obj_results": [
{
"requested_path": "Device.IP.Interface.[Alias==pamonha].",
"oper_status": {
"OperStatus": {
"OperFailure": {
"err_code": 7016,
"err_msg": "DM_PRIV_GetNodeFromPath: Path is invalid: Device.IP.Interface."
}
}
}
}
]
}
Beta Was this translation helpful? Give feedback.
All reactions