Error: Expected status code 200, got 500 with body '{"statusCode":500,"error":"Internal Server Error","message":"[status_exception\n\tCaused by:\n\t\tillegal_argument_exception: [definition_length] must be greater than 0\n\tRoot causes:\n\t\tstatus_exception: Model importing failed due to an Exception [java.lang.IllegalArgumentException: [definition_length] must be greater than 0]]: Model importing failed due to an Exception [java.lang.IllegalArgumentException: [definition_length] must be greater than 0]"}'
at Assertion.assert (expect.js:100:11)
at Assertion.eql (expect.js:244:8)
at Object.assertResponseStatusCode (api.ts:92:31)
at Object.createInferenceEndpoint (api.ts:255:12)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Context.<anonymous> (inference_endpoints.ts:36:7)
at Object.apply (wrap_function.js:73:16) {
actual: '500',
expected: '200',
showDiff: true
}
A test failed on a tracked branch
First failure: kibana-on-merge - main