Required parameter contentId is missing

When trying to add a video on H5P installed on Moodle, I get the following feedback:

Required parameter contentId is missing

I already increased the upload_max_filesize and post_max_size parameters.

What can it be?

BV52's picture

Hi pierresi,

In order to give your bug report the best chance of getting answered, please include the following information:

  1. Detailed steps to reproduce the bug (exactly how and when did it happen)
  2. Platform and version number. E.g. Drupal, Wordpress, Moodle.
  3. Mobile or Desktop
  4. Browser: Chrome, Firefox, Safari etc
  5. H5P plugin version
  6. H5P content type and version (if a content type was used), and a sample URL or attached H5P.
  7. Any browser console errors
  8. Any PHP errors
  9. Screenshots if it's a visual problem
  10. Any recent changes to the environment (new plugins/modules, updates, configuration changes etc.)
  11. Any recent changes to the browser you're using (new extensions, updates etc.)

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

-BV 

When trying to add a video on H5P installed on Moodle, I get the following feedback:

Required parameter contentId is missing

I already increased the upload_max_filesize and post_max_size parameters.

What can it be?

  1. Detailed steps to reproduce the bug (2.25.2020)
  2. Platform and version number.Moodle 3.8
  3. Desktop
  4. Browser: Brave
  5. H5P plugin version: latest
  6. H5P content type and version (if a content type was used), and a sample URL or attached H5P.
  7. Any browser console errors
  8. Any PHP errors
  9. Screenshots if it's a visual problem
  10. Any recent changes to the environment (new plugins/modules, updates, configuration changes etc.)

No any changes with browser

 
otacke's picture

Hi Robert!

You quoted "A required parameter (contentId) was missing" before.

This is not an error message from H5P but from moodle, cmp. https://github.com/moodle/moodle/blob/master/lang/en/error.php#L392. I don't know what it's supposed to indicate though.

Best,
Oliver

papi Jo's picture

@Robert, could it be a problem due to the "exotic" Brave browser you are using? Have you tried with a more standard browser?

If as suggested by Oliver this is a Moodle problem, I suggest you post to the relevant Moodle forum at https://moodle.org/mod/forum/view.php?id=8603

Hey thanks for reply, Now I tried with Chrome also but it didn't work

I already increased the upload_max_filesize and post_max_size parameters.

I already increased the upload_max_filesize and post_max_size parameters.