When i try to hip below url i am getting 400 bad request.
KIBANASERVER:/kibana/api/saved_objects/search?overwrite=true {
"attributes": {
"title": "test",
"description": "",
"hits": 0,
"columns": [
"adultCount"
],
"sort": [
"@timestamp",
"desc"
],
"version": 1,
"kibanaSavedObjectMeta": {
"searchSourceJSON": {
"highlightAll": true,
"version": true,
"query": {
"query": "",
"language": "kuery"
},
"filter": ,
"indexRefName": "kibanaSavedObjectMeta.searchSourceJSON.index"
}
}
},
"references": [
{
"name": "kibanaSavedObjectMeta.searchSourceJSON.index",
"type": "index-pattern"
}
]
}
getting below response:
{
"statusCode": 400,
"error": "Bad Request",
"message": "child "references" fails because ["references" at position 0 fails because [child "id" fails because ["id" is required]]]",
"validation": {
"source": "payload",
"keys": [
"references.0.id"
]
}
}
kindly help on this ..