Troubleshooting H5P errors
A guide for dealing with the most frequent problems met when setting up and administering the H5P plugin on your site.
Unfulfilled H5P Dependencies
The problems listed in this section must be handled by the system administrator
Your PHP version does not support ZipArchive
Your PHP installation does not support the ZipArchive extension, which is needed for H5P.
Your PHP version does not support mbstring
The mbstring PHP extension is not loaded. H5P need this to function properly
Network Communication Issues
The problems listed in this section must be handled by the system administrator. Several different messages may be displayed when an H5P site fails to communicate with h5p.org:
- Failed fetching external data
- Failed communicating with the H5P HUB
- Failed registering site at H5P HUB
- Got no content types from HUB
You should first verify your H5P site is able to communicate with h5p.org e.g. by using the ping command (run it on your server). If that fails, it might e.g be a problem with the server's DNS setup or it might be a firewall or similar blocking the traffic.
A common problem we see with Guzzle is that a required certificate is not present when using the HTTPS protocol.
You can usually solve this by adding a valid "cacert" to your server setup. See papi Joe's comment for more information.
Invalid H5Ps
The problems listed below are mainly relevant for developers, and can most probably be seen during the development phase
The file you uploaded is not a valid HTML5 Package (It does not have the .h5p file extension)
An h5p file has to have the .h5p file extension to be valid
Unable to unzip H5P file
The file you uploaded is not a valid HTML5 Package. The H5P file you were trying to use was not possible to unzip. It might be corrupt.
Invalid h5p.json file
The h5p.json file is either missing or it is not valid. It could be that the content you're uploading is using newer versions of H5P than what is installed on the site you're uploading content to. (If you're using H5P.com note that H5P.com is two weeks behind H5P.org)
Invalid content folder
The H5P is missing the mandatory content folder.
Invalid content.json file
Could not find or parse the content.json file
Library directory name mismatch
Library directory name must match machineName or machineName-majorVersion.minorVersion (from library.json)
Missing required library
A mandatory library is missing from your package
Missing library dependency
One of the library dependencies is missing
Invalid library name
The library name is not according to the specification
Invalid library.json file
The library.json file is missing/not readable, or the content is not according to the specification
Invalid semantics.json file
The semantics.json file is missing/not readable, or the content is not according to the specification
Invalid language file
A language file included is not following the specification
Missing file
A mandatory file is missing from the library
Missing required property in library.json
The library.json content is not following the specification
Illegal option in library.json
The library.json content is not following the specification
Other issues
A mix of issues that does not fit in the other categories.
API version unsupported
You are trying to install an H5P library which requires a newer version of the API. Please update the H5P module/plugin
Insecure file in H5P
There is a file in your H5P that is not allowed inside an H5P because of security
Failed creating H5P export file
H5P was unable to create the downloadable H5P file. Please check the file permissions
Save content failed
Something went wrong when writing the content to disk. Please check the file permissions
Comments
evanio.cursos@g...
Wed, 01/31/2018 - 14:20
Permalink
Evanio
Ativar o modo de superfície ativa
Remover controles de navegação para o usuário final. Use Go To Slide para navegar.Eu não consigo desativar o modo de superfície, alguém pode me ajudar? ---------------Detectar idiomaAfricânerAlbanêsAlemãoAmáricoÁrabeArmênioAzerbaijãoBascobengaliBielorrussoBirmanêsBósnioBúlgaroCanarêsCatalãoCazaqueCebuanoChinês (simplificado)Chinês (tradicional)CingalêsCoreanoCórsicoCroataCurdoDinamarquêsEslovacoEslovenoEspanholesperantoEstonianoFilipinoFinlandêsFrancêsFrísio ocidentalGaélico escocêsGalegoGalêsGeorgianoGregoGuzerateHaitianoHauçáHavaianoHebraicoHindiHmongHolandêsHúngaroIboIídicheIndonésioInglêsIorubáIrlandêsIslandêsItalianoJaponêsJavanêsKhmerLaosianoLatimLetãoLituanoLuxemburguêsMacedônioMalaialaMalaioMalgaxeMaltêsmaoriMaratamongolNepalêsNianjaNorueguêsPanjabiPashtoPersaPolonêsPortuguêsQuirguiz Romeno Russo Samoano Sérvio Shona Sindi Somali Soto do Sul Suaíli Sueco Sundanês TAILANDIA Tajique Tâmil Tcheco Telugu Turco Ucraniano urdu Usbeque Vietnamita Xosa zuluPortuguês Ativar modo de superfície ativa Remover controles de navegação para o usuário final. Use Go To Slide para navegar. Não consigo desativar o modo de superfície, alguém pode me ajudar?BV52
Thu, 02/01/2018 - 04:55
Permalink
Hi evanio,Please see my
Hi evanio,
Please see my answer here.
-BV52
roblespar
Thu, 03/29/2018 - 06:46
Permalink
Update Drag and Drop failure
Hi
I get this error on a DRUPAL7 server with H5P installed when I attempt to update Drag and Drop:
Validating h5p package failed.
BV52
Thu, 03/29/2018 - 06:57
Permalink
Hi roblespar,In my experience
Hi roblespar,
In my experience if updating the libraries through the hub does not work downloading a sample content from H5P.org and uploading it to my system works.
-BV52
roblespar
Fri, 01/18/2019 - 01:38
Permalink
UPdating COntent types
Is there some way of just updating all the content types.
BV52
Fri, 01/18/2019 - 08:05
Permalink
Hi roblespar,So far there isn
Hi roblespar,
So far there isn't, I'm sorry,
-BV52
cgreculescu
Thu, 04/25/2019 - 10:22
Permalink
Cannot upload sample content
I get the message below, even though I am trying to upload h5p files. What can I do?
BV52
Fri, 04/26/2019 - 03:31
Permalink
Hi cgreculescu,I created a
Hi cgreculescu,
I created a separate post for you here.
-BV52
dstval
Thu, 04/12/2018 - 21:52
Permalink
Download option
What app is needed to actually open a downloaded file from content made in H5P?
BV52
Fri, 04/13/2018 - 04:37
Permalink
Hi dstval,You need one of the
Hi dstval,
You need one of the 3 supported frameworks installed and H5P installed within it.
-BV52
dstval
Mon, 04/16/2018 - 16:09
Permalink
Thank you.
Thank you.
CRISTINA PEREZ ...
Wed, 06/27/2018 - 05:03
Permalink
La validación del paquete h5p falló. Falta una carpeta de conten
QUE HAGO NO PUEDO CREAR CONTENIDO
BV52
Thu, 06/28/2018 - 05:06
Permalink
Hi Cristina,I created a
Hi Cristina,
I created a separate thread for this.
Creé un hilo separado para esto.
-BV52
josepepe
Sat, 07/21/2018 - 05:08
Permalink
No puedo subir archivos
Cuando quiero subir un archivo me dice:
Carpeta de contenido inválido
Al H5P le falta la carpeta de contenido obligatorio.
BV52
Mon, 07/23/2018 - 04:32
Permalink
Hi josepepe,I've created a
Hi josepepe,
I've created a separate thread for this.
He creado un hilo separado para esto.
-BV52
lusvin
Wed, 08/08/2018 - 03:57
Permalink
students can do activities several times
Hello friends, I need help. All the activities can be do it serveral times, even if the studen was make mistake, can do it again. And I want the student can do the activites just one time each one.
Somebody can help me.
BV52
Wed, 08/08/2018 - 07:10
Permalink
Hi lusvin,I'm afraid this is
Hi lusvin,
I'm afraid this is not possible with the current features of H5P contents.
-BV52
veronicasuarez25
Tue, 08/28/2018 - 00:49
Permalink
error moodle Missing required library/ iframe embedder content
Hey, i want to know why when i'm going to upload content from iFrame embedder in moodle appear the error of "missing required library" and "Validating h5p package failed." what should i do? i really need to know.
was the plugin installation wrong? or i have to install other version or just other plugin?
I will appreciate your help ASAP. PLEASE!!
BV52
Tue, 08/28/2018 - 05:32
Permalink
Hi Veronica,Where did you
Hi Veronica,
Where did you create the content? May I also know what is the version of Moodle and H5P installed in it?
-BV52
veronicasuarez25
Tue, 08/28/2018 - 16:23
Permalink
error moodle Missing required library/ iframe embedder content
Well, actually yesterday the engineer upgrade the plugin of the recent version, but also I discover that some content it's not allowed for some users, for example For me are only 15 functions avaliable and for a partner are 39 avaliable so what we can do? Is it maybe about configuration?
BV52
Wed, 08/29/2018 - 06:18
Permalink
Hi Veronica,I created a new
Hi Veronica,
I created a new thread for this since I may need some screenshots and we cannot upload it in this thread.
-BV52
Bayardo Eugarrios
Mon, 02/20/2023 - 17:51
Permalink
Error de validación Iframe
mensaje mostrado: cuando doy reutilizar el contenido.
La validación del paquete H5P falló.
Bayardo Eugarrios
Mon, 02/20/2023 - 17:52
Permalink
Error de validación Iframe
mensaje mostrado: cuando doy reutilizar el contenido.
La validación del paquete H5P falló.
openSoil
Fri, 10/12/2018 - 15:21
Permalink
validating h5p package failed
Hi there,
Today I tried uploading the sample .h5p video file to my moodle 2.8.9 website. I have installed the h5p plugin today and it shows as version 1.7 in my moodle plugin manager.
However, when I tried uploading the .h5p file of the interactive video type, it showed me an error message telling me I'm running an older version of h5p than my plugin manager tells me. I spliced the message below. What to do?
Validating h5p package failed.
otacke
Fri, 10/12/2018 - 20:24
Permalink
Hi openSoil!The message is
Hi openSoil!
The message is misleading. The content type tells you which version of the H5P core it requires, not which version of the moodle plugin. If you update your moodle plugin (to the current 1.10), you will also have the required core version.
Best,
Oliver
openSoil
Tue, 10/16/2018 - 13:37
Permalink
update the moodle plugin
Hi Oliver, I'm trying to find the place where i can update the moodle plugin but I can't for the life of me find it. I just freshly installed moodle and the plugin from the h5p page on the moodle plugin website. Can you give me a pointer?
otacke
Tue, 10/16/2018 - 18:52
Permalink
You should be able to update
You should be able to update plugins in moodle's plugin overview.
Angie Carolina
Mon, 12/10/2018 - 17:32
Permalink
Su sitio está teniendo dificultades para conectarse a H5P.org y
Su sitio está teniendo dificultades para conectarse a H5P.org y enumerar los tipos de contenido disponibles.
BV52
Tue, 12/11/2018 - 04:57
Permalink
Hi Angie,Where are you
Hi Angie,
Where are you getting this error message?
-BV52
evleur
Tue, 01/15/2019 - 12:26
Permalink
problem with uploading a package to a different installation
Hello all,
I'm having trouble with uploading a h5p package from one wordpress installation to another. Im getting the message that it is unablt to upzip but the package is from another wordpress h5p site.
Does somebody know a solution?
BV52
Wed, 01/16/2019 - 06:29
Permalink
Hi evleur,There is a
Hi evleur,
There is a possibility that the H5P installed is not the same version. Please check this and update if necessary.
-BV52
roblespar
Fri, 03/01/2019 - 03:56
Permalink
Download failure for Scenario Branching
Failed to download the requested H5P.
BV52
Mon, 03/04/2019 - 05:13
Permalink
Hi roblespar,Please download
Hi roblespar,
Please download the test content here and try uploading to your system.
-BV52
DamianSmith86
Fri, 05/10/2019 - 17:38
Permalink
Wordpress plugin - Validating h5p package failed.
Hey,
I am using the H5P WordPress plugin and when I try and install the memory game by Joubel I get this error message:
Validating h5p package failed.
Missing required library H5P.FontIcons 1.0
Any ideas on how I can resolve this?
Thanks
BV52
Mon, 05/13/2019 - 04:08
Permalink
Hi Damian,Cna you please
Hi Damian,
Cna you please check the H5P plugin version.
-BV52
DamianSmith86
Mon, 05/13/2019 - 10:27
Permalink
Hey, The H5P plugin is
Hey, The H5P plugin is version 1.13.1 - there are no updates available so mut be latest one?
Thanks
DamianSmith86
Mon, 05/13/2019 - 13:16
Permalink
So I installed the True/False
So I installed the True/False content first which was successful and contained the FontIcons library, then I successfully installed the Memory Game as the FontIcons lib was already in place.
Seems as the FontIcons lib is simply missing from the Memory Game package?
BV52
Tue, 05/14/2019 - 04:19
Permalink
Hi Damian,By design the H5P
Hi Damian,
By design the H5P contents will download all library depencies when you are installing a specific content but as we know computers have a mind of their own and sometimes they do not adhere to the design :-). I just tried this on a fresh install and I was able to install Memory Game without any issues. I'm glad that it is working for you now.
-BV52
Girish Gambhir
Tue, 07/16/2019 - 11:56
Permalink
clubbing all the contents
Please help me.
how to club all the contents together??
BV52
Tue, 07/16/2019 - 18:56
Permalink
Hi Girish Gambhir,I'm sorry I
Hi Girish Gambhir,
I'm sorry I do not follow would you mind elaborating your question.
-BV52
Girish Gambhir
Wed, 07/17/2019 - 06:09
Permalink
Sir, Sorry for the same, My
Sir,
Sorry for the same,
My query is, Is there any content type where I need to link up all my different contents those I built for.
Simply, I need to place all my created contents at one location that should also be a h5p.
Thanks in advance:)
BV52
Wed, 07/17/2019 - 18:54
Permalink
Hi Girish,This is possible if
Hi Girish,
This is possible if you use Course Presentation, Column or Quiz (Question Set). You can use the copy/paste option of H5P contents to copy the existing content and paste it into one of those content types. Please note that you can only paste a content type that can be created in one of those 3. For example you can copy/paste a Drag and Drop activity into a Course Presentation but not a Branching Scenario.
-BV52
matthias.5
Thu, 09/12/2019 - 19:57
Permalink
Missing Required Library on Import of .org File to .com
I am trying to import content I exported via the Reuse link at the bottom of the content on H5P.org. I have tried this on multiple content items and each time I receive the Missing Required Library error. Each of the export files has a .h5p extension. What's up?
BV52
Thu, 09/12/2019 - 20:02
Permalink
Hi matthias.5,The content
Hi matthias.5,
The content types on h5p.org have just had a new update which is not yet available on H5P.com. The reason for this is the enhanced quality assurance process we have before releasing new updates to H5P.com which take a little more time. We expect you should be able to upload content from h5p.org again in 1-2 weeks.
-BV52
matthias.5
Thu, 09/12/2019 - 20:04
Permalink
Missing Required Library on Import of .org File to .com
Thanks BV52. I'll put it on my calendar for two weeks to check again so that I can finalize writing documentation on the export/import process.
zwillis
Fri, 09/27/2019 - 17:15
Permalink
Firewall requirements
Can you tell me what public IP addresses h5p.org and h5p.com resolve to? I need to allow them in our firewall for a customer using your pages. Thanks!
JOSE NEIRA
Mon, 11/18/2019 - 04:05
Permalink
como Actualizar de versión 1.23 a 1.24
Estoy tratando de instalar ciertas bibliotecas pero me sale este error
La validación del paquete H5P falló.
BV52
Mon, 11/18/2019 - 19:38
Permalink
Hi Jose,Updating your plugin
Hi Jose,
Updating your plugin should do the trick. I'm not sure which system you are using but you should see this in the administrator options for plugins.
-BV
KellyandTina
Thu, 01/02/2020 - 05:00
Permalink
Upload H5P file
BV52
Thu, 01/02/2020 - 17:31
Permalink
Hi KellyandTina,Would you
Hi KellyandTina,
Would you mind re-posting your question here and add the information below:
-BV
Pages