云栖问答

找不到答案?去提问题

code type parse 阿里云SDK 2019-06-02 12:00:22

设备事件上报,res中的message的这种情况怎么解决

{ code: 6309,
data: {},
id: '11',
message: 'tsl parse: value of enum type must be int -> ErrorCode',
method: 'thing.event.ErrorReporting.post',
version: '1.0' }
{ code: 6309,
data: {},
id: '12',
message: 'tsl parse: value of enum type must be int -> ErrorCode',
method: 'thing.event.ErrorReporting.post',
version: '1.0' }

• 删除

1个回答

0

scottjiang

{
"id": "123",
"version": "1.0",
"params": {

"value": {
  "Power": "on",
  "WF": "2"
},
"time": 1524448722000

},
"method": "thing.event.{tsl.event.identifier}.post"
}

1
GO