# Error loading accounts data set

**URL:** <https://discuss.elastic.co/t/error-loading-accounts-data-set/205248>\
**Category:** Kibana\
**Created:** [October 25, 2019, 11:50am UTC](https://discuss.elastic.co/t/error-loading-accounts-data-set/205248 "2019-10-25T11:50:08Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![BillW](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/billw/32/56606_2.png) [@BillW](https://discuss.elastic.co/u/BillW)\
**Post date:** [October 25, 2019, 11:50am UTC](https://discuss.elastic.co/t/error-loading-accounts-data-set/205248/1 "2019-10-25T11:50:08Z")

</div>

Hi,

I'm trying to follow the tutorial for current version (7.4) of kibana and I get a 404 error loading the data for the accounts.json data set. I don't get the error for shakespeare or logstash data. Not sure if it's an error on my end or some sort of code/data issue so would appreciate advice.

Details:  
Stage in tutorial I got to - [https://www.elastic.co/guide/en/kibana/current/tutorial-dashboard.html](https://www.elastic.co/guide/en/kibana/current/tutorial-dashboard.html)

command used to load data -  
curl -u elastic -H 'Content-Type: application/x-ndjson' -XPOST '[http://127.0.0.1:9200/bank/account/\_bulk?pretty](http://127.0.0.1:9200/bank/account/_bulk?pretty)' --data-binary @accounts.json

Sample of output from terminal -

```
{
  "index" : {
    "_index" : "bank",
    "_type" : "account",
    "_id" : "995",
    "status" : 404,
    "error" : {
      "type" : "index_not_found_exception",
      "reason" : "no such index [bank] and [action.auto_create_index] ([.monitoring*,.watches,.triggered_watches,.watcher-history*,.ml*]) doesn't match",
      "index_uuid" : "_na_",
      "index" : "bank"
    }
  }
}

```

As I said, I didn't get this error for the other data sets but suspect this is due to them already having mappings preloaded.

Thanks,  
Bill

---

<div class="post-metadata">

**Author:** ![nickpeihl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nickpeihl/32/112622_2.png) [@nickpeihl](https://discuss.elastic.co/u/nickpeihl)\
**Post date:** [October 25, 2019, 4:05pm UTC](https://discuss.elastic.co/t/error-loading-accounts-data-set/205248/2 "2019-10-25T16:05:52Z")

</div>

Hi Bill,

Where did you get the "accounts.json" dataset? I assume it is from an example somewhere?

---

<div class="post-metadata">

**Author:** ![BillW](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/billw/32/56606_2.png) [@BillW](https://discuss.elastic.co/u/BillW)\
**Post date:** [October 25, 2019, 6:02pm UTC](https://discuss.elastic.co/t/error-loading-accounts-data-set/205248/3 "2019-10-25T18:02:06Z")

</div>

Yep. It's towards the top of the tutorial page I linked earlier.

I downloaded it with this curl

```
curl -O https://download.elastic.co/demos/kibana/gettingstarted/8.x/accounts.zip

```

and then unzipped with this

```
unzip accounts.zip

```

It's entirely possible I've done something stupid but I tried a few times and got the same error each time. I even tried play around with the 8.x piece of the download url and tried older versions of the documentation in case the data changed.

Thanks

---

<div class="post-metadata">

**Author:** ![nickpeihl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nickpeihl/32/112622_2.png) [@nickpeihl](https://discuss.elastic.co/u/nickpeihl)\
**Post date:** [October 25, 2019, 10:05pm UTC](https://discuss.elastic.co/t/error-loading-accounts-data-set/205248/4 "2019-10-25T22:05:33Z")

</div>

Hi Bill,

Sorry, I missed that somehow. 😅

Looks like there's a bug in the [Load the data sets](https://www.elastic.co/guide/en/kibana/current/tutorial-build-dashboard.html#_load_the_data_sets) section.

Starting with v7.0 we do not allow multiple types so the `accounts` type should not be specified in the URL. The correct command is below. I've [created a PR](https://github.com/elastic/kibana/pull/49425) to fix this. Thanks for the heads up!

```auto
curl -u elastic -H 'Content-Type: application/x-ndjson' -XPOST '<host>:<port>/bank/_bulk?pretty' --data-binary @accounts.json

```

---

<div class="post-metadata">

**Author:** ![BillW](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/billw/32/56606_2.png) [@BillW](https://discuss.elastic.co/u/BillW)\
**Post date:** [October 26, 2019, 10:30am UTC](https://discuss.elastic.co/t/error-loading-accounts-data-set/205248/5 "2019-10-26T10:30:20Z")

</div>

Hi Nick,

Thanks for taking a look. Unfortunately I'm still getting an error with the new command 😕

command I ran:

```
curl -u elastic -H 'Content-Type: application/x-ndjson' -XPOST 'http://127.0.0.1:9200/bank/_bulk?pretty' --data-binary @accounts.json

```

Snip of error received:

```
{
  "index" : {
    "_index" : "bank",
    "_type" : "_doc",
    "_id" : "995",
    "status" : 404,
    "error" : {
      "type" : "index_not_found_exception",
      "reason" : "no such index [bank] and [action.auto_create_index] ([.monitoring*,.watches,.triggered_watches,.watcher-history*,.ml*]) doesn't match",
      "index_uuid" : "_na_",
      "index" : "bank"
    }
  }
} 

```

FYI - I'm able to do the rest of the tutorial and just skip over the sections related to this data set. I just wanted to flag it in case it's not just me getting this error.

Thanks again,  
Bill

---

<div class="post-metadata">

**Author:** ![nickpeihl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nickpeihl/32/112622_2.png) [@nickpeihl](https://discuss.elastic.co/u/nickpeihl)\
**Post date:** [October 28, 2019, 7:12pm UTC](https://discuss.elastic.co/t/error-loading-accounts-data-set/205248/6 "2019-10-28T19:12:57Z")

</div>

Hmm, strange. I am unable to replicate the error on 7.4.

Maybe [create the index](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-index.html) first, like this.  
`curl -u elastic -XPUT "127.0.0.1:9200/bank?pretty"`

Then try ingesting the dataset.  
`curl -u elastic -H 'Content-Type: application/x-ndjson' -XPOST 'http://127.0.0.1:9200/bank/_bulk?pretty' --data-binary @accounts.json`

---

<div class="post-metadata">

**Author:** ![BillW](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/billw/32/56606_2.png) [@BillW](https://discuss.elastic.co/u/BillW)\
**Post date:** [October 30, 2019, 9:20am UTC](https://discuss.elastic.co/t/error-loading-accounts-data-set/205248/7 "2019-10-30T09:20:05Z")

</div>

Thanks Nick! That worked. Really appreciate you taking the time to look.

All the best,  
Bill

---

<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:** [November 27, 2019, 9:20am UTC](https://discuss.elastic.co/t/error-loading-accounts-data-set/205248/8 "2019-11-27T09:20:07Z")

</div>

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