# Error adding files of H5P

**URL:** <https://discuss.openedx.org/t/error-adding-files-of-h5p/12760>\
**Category:** Tutor Help\
**Tags:** how-to, tutor\
**Created:** [April 12, 2024, 2:48am UTC](https://discuss.openedx.org/t/error-adding-files-of-h5p/12760 "2024-04-12T02:48:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Le\_Nguy\_n\_H\_i\_Duy](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/le_nguy_n_h_i_duy/32/6720_2.png) [@Le\_Nguy\_n\_H\_i\_Duy](https://discuss.openedx.org/u/Le_Nguy_n_H_i_Duy)\
**Post date:** [April 12, 2024, 2:48am UTC](https://discuss.openedx.org/t/error-adding-files-of-h5p/12760/1 "2024-04-12T02:48:12Z")

</div>

I installed H5P for Tutor Openedx following the instructions:

> [@Install Xblock and currently Supported Xblock List in respect to Nutmeg](https://discuss.openedx.org/t/install-xblock-and-currently-supported-xblock-list-in-respect-to-nutmeg/8030):
>
> In this tutorial we are going to install Xblock and I will share list of xblock which are compatible with Nutmeg. List of Xblock which are currently working fine with Nutmeg For our Tutorial and for your refence we are installing H5P Step 1. open config.yml file sudo nano "$(tutor config printroot)/config.yml" Step 2. Add these lines for my example i am installing H5p Xblock and for your refence I am adding few lines in the end OPENEDX\_EXTRA\_PIP\_REQUIREMENTS: - "git+https://github…

But after installing and going to the studio page to add files using H5P, it got the following error:  
Log 1: Uncaught (in promise) Unexpected token ‘\<’, "  
\<!doctype "… is not valid JSON  
Log 2: GET [https://studio.xxx.yy/media/h5pxblockmedia/Jupyter/JN/4d829c653c3a44548871f4d2d44ca26b/h5p.json](https://studio.xxx.yy/media/h5pxblockmedia/Jupyter/JN/4d829c653c3a44548871f4d2d44ca26b/h5p.json) 404 (Not Found)

I am running version 17.0.0 (Tutor)

Hope can help me solve this problem. Thank you

---

<div class="post-metadata">

**Author:** ![Abdul\_Muqadim](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/abdul_muqadim/32/9226_2.png) [@Abdul\_Muqadim](https://discuss.openedx.org/u/Abdul_Muqadim)\
**Post date:** [April 13, 2024, 12:40pm UTC](https://discuss.openedx.org/t/error-adding-files-of-h5p/12760/2 "2024-04-13T12:40:21Z")

</div>

Hey @Nguy_n_Anh_Binh, cna you follow following steps

1. git clone [GitHub - edly-io/h5pxblock: Xblock which provides ability to play H5P content in open edX](https://github.com/edly-io/h5pxblock.git)
2. cd cloned repo
3. tutor mounts add .
4. tutor images build openedx or tutor images build openedx-dev(incase working in dev mode)
5. tutor dev start
6. Update course advanced settings by adding `h5pxblock`  
Note: From tutor quince, we use **tutor mounts add** instead of pip install, please follow [this](https://docs.tutor.edly.io/tutorials/edx-platform.html#working-on-edx-platform-python-dependencies)
