Resolve Import Errors API Not Working

I am trying to overwrite kibana advanced setting config using the following curl command.

curl -X POST "localhost:5601/api/saved_objects/_resolve_import_errors" -H "kbn-xsrf: true" --form file=@configs.ndjson --form retries='[{"type":"config","id":"adv-setting","overwrite":true}]'

and I am getting the following error,
{"statusCode":400,"error":"Bad Request","message":"child \"retries\" fails because [\"retries\" must be an array]","validation":{"source":"payload","keys":["retries"]}}

I am using Kibana OSS Build 7.4.2.

Please help me with this issue.

What are the contents of this file?

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