Problem using Bulk Import for HTML objects

I’ve been trying to import media objects of type HTML using the Bulk Import module.

When I inspect the item, the medias have been created, but clicking on them gives this error message:

Notice : Undefined index: html in /opt/bitnami/apache/htdocs/omeka-s/application/src/Media/Renderer/Html.php on line 13

I’m able to create the media object manually using the identical HTML, so I don’t think there is an error in the code.

Any ideas would be appreciated.