Could not Validate H5P file Error

Hello H5P Team,

am getting this error when I try to upload 2 presentation in my e-learning portal

Could not validate H5P file.

Make sure the uploaded H5P contains valid H5P content. H5P files containing only libraries should be uploaded through the H5P Libraries page.

Am using an updated version of Moodle 3.3 with updated H5P plugin.

Attached is one of the presentation, kindly try to upload it from your end and help me troubleshoot the problem.

Thank you

BV52's picture

Hi bensonkanyi,

I was able to upload the content in Moodle. Can you please check if you have any error message in the browser concole (ctrl+shift+J in chrome).

-BV52

Thank you for your response,

I have tried to upload it again and it has brought the same previous error.

I have loaded the browser error and its showing as highlighted below.

I am also wondering, could it be an issue related to the size of the file, because the ones which are about 3MB have worked well but the ones above 7MB, they are having an issue.

Thank you

modedit.php?add=hvp&type=&course=2&section=2&return=0&sr=0:1 Slow network is detected. Fallback font will be used while loading: https://fonts.gstatic.com/s/opensans/v15/LWCjsQkB6EMdfHrEVqA1KRJtnKITppO...

modedit.php?add=hvp&type=&course=2&section=2&return=0&sr=0:1 Slow network is detected. Fallback font will be used while loading: https://fonts.gstatic.com/s/opensans/v15/xozscpT2726on7jbcb_pAhJtnKITppO...

modedit.php?add=hvp&type=&course=2&section=2&return=0&sr=0:1 Slow network is detected. Fallback font will be used while loading: https://fonts.gstatic.com/s/opensans/v15/59ZRklaO5bWGqF5A9baEERJtnKITppO...

modedit.php?add=hvp&type=&course=2&section=2&return=0&sr=0:1 Slow network is detected. Fallback font will be used while loading: https://fonts.gstatic.com/s/opensans/v15/u-WUoqrET9fUeobQW7jkRRJtnKITppO...

modedit.php?add=hvp&type=&course=2&section=2&return=0&sr=0:1 Slow network is detected. Fallback font will be used while loading: http://elearning.aerosafrica.com/mod/hvp/editor/styles/css/fonts/h5p-hub...

thomasmars's picture

Hi,
Please check the PHP error log of your server for any errors and list them here so we can help you solve them.
Also make sure your PHP configuration is set up properly by following the php setup guide, especially notice the settings for upload_max_filesize and post_max_size which limits how big the files you can upload are, since your H5P file is quite big.