# Resolve Import Errors API Not Working

**URL:** <https://discuss.elastic.co/t/resolve-import-errors-api-not-working/219573>\
**Category:** Kibana\
**Created:** [February 17, 2020, 7:11am UTC](https://discuss.elastic.co/t/resolve-import-errors-api-not-working/219573 "2020-02-17T07:11:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rathna\_subramanian](https://avatars.discourse-cdn.com/v4/letter/r/9d8465/32.png) [@rathna\_subramanian](https://discuss.elastic.co/u/rathna_subramanian)\
**Post date:** [February 17, 2020, 7:11am UTC](https://discuss.elastic.co/t/resolve-import-errors-api-not-working/219573/1 "2020-02-17T07:11:20Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![joelgriffith](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joelgriffith/32/53738_2.png) [@joelgriffith](https://discuss.elastic.co/u/joelgriffith)\
**Post date:** [March 5, 2020, 10:26pm UTC](https://discuss.elastic.co/t/resolve-import-errors-api-not-working/219573/2 "2020-03-05T22:26:36Z")

</div>

> [@rathna\_subramanian](#):
>
> configs.ndjson

What are the contents of this file?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 2, 2020, 10:26pm UTC](https://discuss.elastic.co/t/resolve-import-errors-api-not-working/219573/3 "2020-04-02T22:26:43Z")

</div>

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