0
0

When I try to add an asset, I get this error.

Here is the WebSocket request:
{
“jsonrpc”: “2.0”,
“id”: 74,
“method”: “insert”,
“params”: {
“type”: “ASSET”,
“object”: {
“id”: -1,
“rackMapId”: 0,
“hostId”: -1,
“boardId”: -1,
“sensorId”: -1,
“position”: 0,
“name”: “test assets”,
“type”: 7,
“size”: 1,
“powerSource”: “”,
“weight”: 0,
“load”: 0,
“installDate”: 0,
“props”: {
“voltage”: “”,
“power”: “”,
“desc”: “”,
“invCode”: “”,
“serial”: “”,
“model”: “”,
“category”: “”,
“manufacturer”: “”,
“suppiler”: “”,
“mac1”: “”,
“mac2”: “”,
“installAddress”: “”,
“dataCenter”: “”,
“rackNumber”: “”,
“floor”: “”,
“room”: “”,
“column”: “”,
“row”: “”,
“firstUseTime”: 0,
“lifeCycle”: “”,
“maintenanceCycle”: “”,
“lastMaintenanceStaff”: “”,
“lastUpdate”: 0,
“nextMaintenanceStaff”: “”,
“nextUpdate”: 0,
“maintenanceContact”: “”
},
“cabinetId”: 0
}
}
}

And here is the response:
{
“error”: {
“code”: -32603,
“data”: “Execute database failed.”,
“message”: “Internal error”,
“rpcCode”: 50003
},
“id”: 74,
“jsonrpc”: “2.0”
}
What is this error?
Is there any documentation available for this error code?

  • You must to post comments
Showing 0 results
Your Answer

Please first to submit.

AKCP[Akcpro server] Add an asset getting failed