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

**URL:** <https://discuss.huggingface.co/t/json-parse-error-when-trying-to-load-my-own-squad-dataset/8547>\
**Category:** Beginners\
**Created:** [July 21, 2021, 12:30pm UTC](https://discuss.huggingface.co/t/json-parse-error-when-trying-to-load-my-own-squad-dataset/8547 "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](https://discuss.huggingface.co/u/julifelipe)\
**Post date:** [July 21, 2021, 12:30pm UTC](https://discuss.huggingface.co/t/json-parse-error-when-trying-to-load-my-own-squad-dataset/8547/1 "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.
