Could not get posted H5P & OK (200). Problem uploading content in Moodle

Hi, i'm trying to load several resources in Moodle, but it gives me this errors:

Error 1:

Could not get posted H5P.

 

Error 2:

OK (200)

Unable to interpret response.

 

Please check your error log.

 

I've checked the resources and all look fine. I send attached one of the resources.

Please help. 

 

 

 

BV52's picture

Hi crcr554,

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

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

-BV52

Thanks for repying!

1. I created and downloaded several resources in the H5P webpage to add them in my Moodle site. In my Course I clicked "Add an activity or resource", then "H5P Interactive Content", put a description, selected "Upload" in "Select Content Type", uploaded the H5P resource and finally clicked "Use". Once there the Errors mentioned on my post appeared. 

I have uploaded sucesfully some other resources such as: Quizzes, Image Sequencing and Hotspots, Drag the Words, and Memory Games; but for Drag and Drop resources, one Image Hotspots (only got error in one, the other were sucessfully uploaded) and one Course Presentation I got: Could not get posted H5P. For other 2 Course Presentations I got: "OK (200). Unable to interpret response. Please check your error log", and the resources couldn't be uploaded.

2. Moodle 3.5.3+ (Build: 20181113)

3. Desktop

4. Chrome Versión 70.0.3538.110 (Build oficial) (32 bits)

5. H5P mod_hvp 1.12 2018110600

6. Resources with error "Could not get posted H5P": https://h5p.org/node/299713, https://h5p.org/node/315242 (Drag and Drop from the H5Phub, I didn't find the version). https://h5p.org/node/300830 (Image Hotspots from the H5Phub, I didn't find the version) and https://h5p.org/node/319579 (Course Presentation from the H5Phub, I didn't find the version).

Resources with error "OK (200). Unable to interpret response. Please check your error log.": https://h5p.org/node/310659 and https://h5p.org/node/321632 (Course Presentation from the H5Phub, I didn't find the version).

7. No

8. No 

9. Attached

 

Thanks,

 

CRCR554

6. Resources with error "Could not get posted H5P": https://h5p.org/node/299713https://h5p.org/node/315242 (Drag and Drop (1.13.2)). https://h5p.org/node/300830 (Image Hotspots (1.7.3)) and https://h5p.org/node/319579 (Course Presentation (1.20.2)).

Resources with error "OK (200). Unable to interpret response. Please check your error log.": https://h5p.org/node/310659and https://h5p.org/node/321632 (Course Presentation (1.20.2)).

chschett's picture

I have the same problem with the math formula example. Could upload it to Wordpress without problems but in Moodle the same error message like you: "Could not get posted H5P".