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
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
Pages