API Integration Manual for Daikin DKN Cloud Wi-Fi Adaptor
18
"msg”: "No device found"
}
-
installationNotFound:
Returned when the installation id specified in the URL path doesn’t exist or is
invalid. Error code: 422. Example response:
{
"_id": "installationNotFound",
"msg": "No installation found"
}
machineError:
Returned when trying to set a parameter to a device which has an AC error.
In this case, the parameter is not set to the AC. The ASCII representation of the error code can be
seen in the message’s description. Error code: 422. Example response:
{
"_id": "machineError",
"msg": "Error in the AC unit: {{ERROR_ASCII}}"
}
-
notAuthorized
:
Returned when the user doesn’t have permission to act over the specified device.
Example response:
{
"_id": "notAuthorized",
"msg": "Error in the AC unit: {{ERROR_ASCII}}"
}
-
socketTimeout
:
Returned when there has been an internal error when communicating with other
services (very unusual). Error code: 500. Example response:
{
"_id": "socketTimeout",
"msg": "SocketTimeout with DeviceService"
}
-
unknown
:
Returned when there has been an unhandled internal error (very unusual). Error code:
500. Example response:
{
"_id": "unknown",
"msg": "Unknown Error. Try again later"
}
-
userNotExist
:
Returned when the user making the request cannot be found in the database. Error
code: 400. Example response:
{
"_id": "userNotExist",
"msg": "No user found with specified data"
}