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
Licia
Wed, 01/22/2020 - 17:40
Permalink
H5P not displaying offline on Moodle 3.8 app
Hello,
I'm building an elearning course for being used offline in remote areas of Nigeria. We've used H5P as a plugin in Moodle ( the Atto button is not displaying). The H5P content is not showing at all on the app. Would yo be able to help me understanding what we're doing wrong, please?
Thanks
Licia
blebar25
Wed, 01/29/2020 - 11:31
Permalink
Problème lors de l'installation de paquet dans h5p
Bonjour, j'ai un problème et je ne sais pas comment faire pour effecuer la mise à jour du plugin ...
Voici le message que j'obtient lorsque j'essaye d'installer un paquet :
La validation du paquet h5p a échoué.
Merci pour votre aide
BV52
Wed, 01/29/2020 - 17:31
Permalink
Hi blebar25,Are you updating
Hi blebar25,
Are you updating the plugin or are you updating a content type. If you are doing the later you need to update the plugin first for this to work.
-BV
vpenide
Fri, 01/31/2020 - 09:32
Permalink
upload .h5p to moodle platform
Hi,
I have created my first content in h5p, downloaded it and tried to upload it to our moodle 3.5, but I get ALL this errors:
Validating h5p package failed.
BV52
Fri, 01/31/2020 - 17:04
Permalink
Hi Victoria,Please make sure
Hi Victoria,
Please make sure that you have admin access in Moodle. Also make sure that Moodle uses the latest version of the H5P plugin.
-BV
Coach
Thu, 03/05/2020 - 22:52
Permalink
Reporting and additional features and functionality's
I have not been successful in connecting my H5P to my LMS. Is there "How To" I can use to walk me through that process?
BV52
Thu, 03/05/2020 - 23:01
Permalink
Hi Coach,Different LMSs
Hi Coach,
Different LMSs provides different features and ways to configure them to utilize H5Ps. If you can provide us which LMS you are using and what exactly do you need either the community can point you to a document or provide you with the steps.
-BV
Juliangomez
Thu, 03/12/2020 - 23:26
Permalink
Validating h5p package failed.
Hello, I am trying to modify the ImagePair module for a specific purpose but I cannot understand the process of creating .h5p files well, I have seen the tutorials that I have but I have not been able to modify it, there is a video or some other resource that I can use to do it. thanks
BV52
Mon, 03/16/2020 - 17:14
Permalink
Hi Julian,If you've read this
Hi Julian,
If you've read this documentation, I'm afraid there isn't any other resource available. Although we can use the forums to ask for assistance from the community. I suggest that you post your question there, you may want to include a screenshot of errors in your browser console as it would provide details on what is going on. Also you could give more details on what you are modifying and what code you added/removed/modified.
-BV
gibbywilson
Sat, 03/28/2020 - 10:21
Permalink
Where can I download the libraries?
I am in China and the update function does not work so I will need to download and install individual libraries, where can I download them?
Thanks
BV52
Mon, 03/30/2020 - 11:57
Permalink
Hi gibbywilson,THe libraries
Hi gibbywilson,
THe libraries can be located here. However it is a million times easier and faster if you just download the sample contents and upload them. By design H5P automatically updates the libraries if you upload a content that has a newer one. It would also make it faster if you start with the 'complex' content types such as Column, Course Presentation etc.
-BV
Jorge Lona
Wed, 08/26/2020 - 21:55
Permalink
I can´t share a H5P interactive video to Talnt LMS
I don´t know how to export an interactive H5P video to Talent LMS, can you help me? what´s necessary to do?.
I try for several intents and don´t appear tue video into Talent LMS.
msalva
Tue, 09/29/2020 - 17:24
Permalink
Msalva
Please,
The bar icons (ex. multiple choice, image, video) of the "Course presentation" are not showing. A square appears instead.
Thanks,
msalva
BV52
Tue, 09/29/2020 - 18:58
Permalink
Hi msalva,Would you mind
Hi msalva,
Would you mind posting this in the Bug Reports forum and please follow the suggested format in that forum.This should help you get answers quicker since the forums have more traffic and the information that you provide helps the community to diagnose the issue.
-BV
msalva
Tue, 09/29/2020 - 20:10
Permalink
Msalva
Please BV,
The icons that are part of the button "start", "continue" and some icons of the development bar do not appear.
thanks,
msalva
Antonio Ramirez
Wed, 01/06/2021 - 02:42
Permalink
Validating. Find the words
Validating h5p package failed.
BV52
Wed, 01/06/2021 - 17:23
Permalink
Hi Antonio,"How can I upload
Hi Antonio,
"How can I upload a file of this type?"
Where did you download the content you are uploading. Please make sure that you are running the latest version of the H5P plugin on your system.
-BV
feje
Mon, 03/29/2021 - 14:31
Permalink
Upload problem: Validating h5p package failed
We have created some content on h5p.com. Now we would like to transfer this to our Wordpress-Homepage with H5P-Plugin (Version 1.15.0).
I downloaded the H5P file and tried to uploaded it to WordPress via the H5P upload option in the plugin. Then I get the error message
Validating h5p package failed.
Invalid data provided for licenseExtras in h5p.json
The main h5p.json file is not valid
In connection with this, I found that the version in h5p.org is always newer than that of h5p.com. But here it would be the other way around, i.e. transfer from h5p.com to h5p.org (or plug-in). Can it still be related to it? Do you have any other suggestions?
Thanks und best regards
Felix
BV52
Mon, 03/29/2021 - 19:27
Permalink
Hi Felix,Which content type
Hi Felix,
Which content type are you trying to upload?
You are correct most of the time H5P.org has a newer version of content types compared to H5P.com this is to make sure that the updates are tested on a "real" environment before releasing them in H5P.com. However the plugins, Wordpress included are updated almost at the same time as H5P.org so this shouldn't be the issue.
-BV
feje
Mon, 03/29/2021 - 21:25
Permalink
Hi BV,thanks for your answer.
Hi BV,
thanks for your answer. The content type is Virtual Tour (360). It was created about two weeks ago on h5p.com, before I downloaded it and tried to upload.
Best regards
Felix
BV52
Tue, 03/30/2021 - 19:25
Permalink
Hi Felix,Would you mind
Hi Felix,
Would you mind testing if you upload my test content. I was able to upload it in Wordpress with the same H5P version as you are using. If you can upload this test content I would suggest that you contact H5P.com support directly by following the instructions on this page.
When sending the e-mail I suggest that you include the link to your content.
-BV
feje
Wed, 03/31/2021 - 10:26
Permalink
Hi BV,I was able to upload
Hi BV,
I was able to upload your test content in Wordpress without any problems. As suggested, I will now contact h5p.com support. Thank you for your support!
Best regards
Felix
clarisse_p
Wed, 06/23/2021 - 20:20
Permalink
Missing required library H5PEditor.ColorSelector 1.2
Hi there, I recently installed the H5P plugin for my website on WordPress 5.7.2. When I tried to create content (Branching Scenario), I got the following error message and am unsure how to fix it.
Validating h5p package failed.
BV52
Thu, 06/24/2021 - 19:06
Permalink
Hi clarisse_p,Can you try
Hi clarisse_p,
Can you try downloading this sample content and uploading the file into wordpress. You can check more details on how to import/export contents on this documentation.
-BV
lobbwill
Fri, 06/25/2021 - 10:42
Permalink
Same issue
Hi BV52,
I am having the same issue as clarisse_p but when installing the package on a self-hosted Wordpress site. I've tried your suggestion of uploading the sample content but then get the same error with a slight variation to the last number (Missing required library H5PEditor.ColorSelector 1.3)
Thanks,
Will
lobbwill
Fri, 06/25/2021 - 11:05
Permalink
Resolved
Hi clarisee_p / BV,
I've resolved this by first installing the Interactive Video part and then retrying the Branching Scenario part. I guess the former install the correct version of the Color Picker and then this stage was bypassed for the installation of the Branching Scenario part.
Best,
Will
BV52
Fri, 06/25/2021 - 18:52
Permalink
Hi Will,Good to know you got
Hi Will,
Good to know you got it resolved and thank you for providing your solution. It is unusual however that the color picker was not included in the installation of Branching Scenario since IV should be part of the installation thus including the color picker.
-BV
stubot
Tue, 07/27/2021 - 16:39
Permalink
H5PEditor.ColorSelector (1.2.6 >>> 1.3.0)
I had the exact same issue, but importing 'Interactive Video' didn't work for me, however after much Googling and experimenting here is my solution:
Force the ColorSelector library (1.2.6) to update by importing a new content type that isn't already installed. I used 'Image Hotspots' and downloaded the example from:
https://h5p.org/image-hotspots
This added the new version H5PEditor.ColorSelector (1.3.0)
N.B. I was unable to update this ColorSelector library via the 'H5P Hub' interface, an update option was never presented to me.
mborschm
Wed, 07/07/2021 - 07:37
Permalink
Unable to comment on other pages
When I try to comment on one of the H5P installation pages it says "log in or register to comment" - when I click the log in button it jumps to the top of the page.
When I log in via the top of the page I can see "my account", yet when I navigate away from this page I am logged out again and it says "log in" again.
daniel_w
Wed, 09/01/2021 - 13:49
Permalink
Missing main library H5P.SortParagraphs 0.10
When uploading a sort the paragraphs exercise created here as well, I get the following error. What am I doing wrong?
Validating h5p package failed.
BV52
Wed, 09/01/2021 - 18:51
Permalink
Hi daniel_w,Where are you
Hi daniel_w,
Where are you unloading the content? Also what is the version of the H5P plugin that you are using?
-BV
A-PP
Wed, 11/24/2021 - 16:25
Permalink
Adding a h5p element into a lesson in Tutor LMS
Hello,
I am confused.
I am trying to insert an h5p element into a lesson. I have two accounts.
As the admin, I can create h5p elements, which I see listed in the library, once they have been created. On the lesson page, I can see the "add h5p" button and when I click the button, this goes to my library, which I can choose from. No problem.
As a tutor, I see the "add h5p" button on the lesson page. But I cannot add any h5p element, not even to a library of h5p.
Is there a permission/setting I am missing?
Thanks.
AicitelM
Thu, 03/31/2022 - 18:38
Permalink
Error "We can't find your email address in our system"
One of my students is having problem to connect. The timezone is America/Mexico. Why is happening this? please I need an answer in order to be able to help my student to solve this issue. Thanks in advance.
BV52
Fri, 04/01/2022 - 18:55
Permalink
Hi AicitelM,I assume that you
Hi AicitelM,
I assume that you are talking about H5P.com. Please make sure that the student is logging in on the correct URL. If the issue persist please reach out to the H5P.com's Customer Success team by sending and email to [email protected].
-BV
Randall Moreno
Thu, 05/05/2022 - 06:42
Permalink
Validating h5p package failed
Hey there,
I've found an H5P task that I'd like to recycle, but when I upload it, I get the following:
Can anyone tell me what's causing this and how I can fix it?
Cheers,
R.
BV52
Thu, 05/05/2022 - 19:30
Permalink
Hi Randall,I suggest that you
Hi Randall,
I suggest that you post your question in the forums. It would helps if you can provide the information requested. Specially attaching the H5P file and the platform the are using.
-BV
RAWRS-csci
Sun, 05/29/2022 - 19:55
Permalink
How to Update Libraries for Existing Content
Hello! I have a colleague who made an interactive book using Lumi. We tried uploading their h5p file but we only got these error messages:
Missing required library H5P.Video 1.6Get help
Missing required library H5P.Column 1.15Get help
Missing required library H5P.MultiChoice 1.16Get help
Missing required library H5P.GuessTheAnswer 1.5Get help
Missing required library H5P.Blanks 1.14Get help
Missing required library H5P.DragQuestion 1.14Get help
Missing required library H5P.DragText 1.10Get help
Missing required library H5P.TrueFalse 1.8Get help
Missing main library H5P.InteractiveBook 1.5Get help
We are suspecting that the interactive book they used may be outdated. Is there any way we can work around this without rebuilding the package from scratch again? Thanks!
LauDai
Mon, 06/20/2022 - 18:00
Permalink
Any solution ?
Hi, we are facing the same problem. Did you find any solution or did you get any reply from Joubel or Lumi?
NadiaDominguez
Sun, 08/21/2022 - 01:46
Permalink
H5P content not found
I did a fresh moodle install using the latest version 4.0 and then I upload courses from last school year (created under moodle 3.9+), the trouble is that the previous H5P content is not working, eventhough I installed H5P interactive content plugin and libraries. I keep seeing the following mistake: "The requested URL was not found on this server." Please advice, thanks!
BV52
Mon, 08/22/2022 - 18:18
Permalink
Hi Nadia,Would you mind re
Hi Nadia,
Would you mind re-posting you concern in the bugs forum. When posting please make sure that you provide as much information as requested in that forum.
-BV
Angevillegasq
Sun, 03/12/2023 - 02:06
Permalink
HTTP ERROR 500
no consigo abri mis recursos en h5p creados por que parece este error HTTP ERROR 500 es el banner azul en moodle
yo luego cree contenido en banner negro y resulta pero no puedo acceder al contenido que cree antes me pueden ayudar por favor
"I can't open my resources in h5p created because it looks like this error HTTP ERROR 500 is the blue banner in moodle
I then create content in a black banner and it turns out but I cannot access the content that I created before, can you please help me"
thomaigr
Wed, 03/20/2024 - 00:15
Permalink
can not open h5p file
hi, while I΄m working at cousre pressentation after some slides I can΄t save the file and Ι can ΄t open it. Iget the messege, 413 if I try to open it from another programme
BV52
Wed, 03/20/2024 - 17:24
Permalink
Hi thomaigr,Please report
Hi thomaigr,
Please report your question in the bugs forum. Provide all the information in that is needed in that forum.
-BV
Mohammed_albanna
Sat, 07/06/2024 - 09:14
Permalink
Integration H5P with laravel
I need to integrate H5P with my laravel project
Pages