# JSON parse error when trying to load my own SQuAD dataset

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fjson-parse-error-when-trying-to-load-my-own-squad-dataset%2F8547%3E%5C
**Category:** Beginners\
**Created:** [July 21, 2021, 12:30pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fjson-parse-error-when-trying-to-load-my-own-squad-dataset%2F8547 "2021-07-21T12:30:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![julifelipe](https://avatars.discourse-cdn.com/v4/letter/j/ce7236/32.png) [@julifelipe](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fjulifelipe)%5C
**Post date:** [July 21, 2021, 12:30pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fjson-parse-error-when-trying-to-load-my-own-squad-dataset%2F8547%2F1 "2021-07-21T12:30:18Z")

</div>

Hi, I’m trying to follow [this notebook](https://github.com/huggingface/notebooks/blob/master/examples/question_answering.ipynb) but I get stuck at loading my SQuAD dataset.

```auto
dataset = load_dataset('json', data_files={'train': 'squad/nl_squad_train_clean.json', 'test': 'squad/nl_squad_train_clean.json'}, field='data')

```

Gives the following error `ArrowInvalid: JSON parse error: Column(/paragraphs/[]/qas/[]/answers/[]) changed from object to array in row 0`.

Please let me know what I have to do to fix this, if needed I can post the complete stack trace.

Thanks.
