This error usually appears if you load HTML content instead of the glTF asset. More details here:
glTF