Api/saved_objects/search?overwrite=true getting 400 bad request

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 ..

@santhosh_kumar2 I'm sorry to hear you're having trouble. Could you let me know what version you're running and how you are running Kibana please?

@cheiligers Kibana : 7.3.1

@santhosh_kumar2 thank you for the version number. If you're running locally off of a build, could you try bootstrapping again?
You might need to clean up old packages, so try running:
yarn kbn clean
followed by:
yarn kbn bootstrap

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.