我正在使用
创建指挥工作人员但是收到此错误
{ "code": "INTERNAL_ERROR", "message": "INTERNAL_ERROR - Can not deserialize instance of java.util.ArrayList out of START_OBJECT token\n at [Source: HttpInputOverHTTP@2179fb[c=323,s=STREAM]; line: 1, column: 1]", "instance": "linkez-System-Product-Name" }
我的任务定义JSON有效负载是
{
"name": "encode_task",
"retryCount": 3,
"timeoutSeconds": 1200,
"inputKeys": [
"sourceRequestId",
"qcElementType"
],
"outputKeys": [
"state",
"skipped",
"result"
],
"timeoutPolicy": "TIME_OUT_WF",
"retryLogic": "FIXED",
"retryDelaySeconds": 600,
"responseTimeoutSeconds": 3600
}
答案 0 :(得分:0)
是的,我能够解决这个问题。我弄错了。要创建任务,我们必须在发布新任务时发送数组i,e []作为JSON而不是{}