Facing js issue in moodle

Hello Team , I am facing issue.
Uncaught TypeError: Cannot read property ‘appendChild’ of null
at b._createIFrame (external_api.js:305)
at new b (external_api.js:253)
at sesion.php:1995

You are passing null parent node to the iframe API.