Error Message When uploading to Moodle The H5P library {$a->%library} used in the content is not valid

I just installed the most recent version available for h5p into my Moodle installation (v3.3.2). I downloaded an example file to test (https://h5p.org/drag-and-drop#example=63159). When I saved I received the following error message:

The H5P library {$a->%library} used in the content is not valid

Please advise as to how to address this. Thanks!

BV52's picture

Hi tmorgan,

Thank you for reporting this. In order give your bug report the best chance of getting answered, please include the following information:

  1. Steps to recreate the bug
  2. Platform you're using: Drupal, Wordpress, Moodle (version number would be helpful as well)
  3. Mobile or Desktop
  4. Browser: Chrome, Firefox, Safari etc
  5. H5P plugin version
  6. H5P content type version
  7. Do you get the same error messge if you try to upload a different content type?

The more information you provide, the quicker the community will be able to fix it and the quicker you'll have a working solution!

Hey,

1. I created the h5p-file (Accordion) and used for it h5p website. After download, I try to upload this file in Moodle, but I saw the error message "The H5P library {$a->%library} used in the content is not valid". Also when I try to create the new h5p-file in Moodle I receive the error message, what the communication with H5P Hub doesnt work. See the screenshots.

2. Moodle 3.2

3. Desktop

4. Firefox, the same problem in Chrome

5. H5P Plugin - the last release

6. Acordion/Course Presentation

7. yes

Thank U in advance!

BV52's picture

Hi Kristina,

I am unable to reproduce the issue on my end. Can you also check if there are any error logs in your browser console (Ctrl+Shift+J in Chrome).

-BV52