Firebase Storage invalid argument on upload
<p>I keep getting an <code>Invalid argument in put at index 0: Expected Blob or File</code> error. The funny thing is the argument is totally a file...</p>

<p>Here is the code:</p>

<pre><code>var file = document.getElementById('cke_69_fileInput')
          .contentWindow.document.getElementById('cke_69_fileInput_input').files[0];

var storageUrl = 'noticias/imagenes/';
var storageRef = firebase.storage().ref(storageUrl + file.name);
console.warn(file); // Watch Screenshot
var uploadTask = storageRef.put(file);
</code></pre>

<p>Here's the screenshot of the actual file warn just before the error asking for a file...
<a href="https://i.stack.imgur.com/sp9z6.png" rel="noreferrer"><img src="https://i.stack.imgur.com/sp9z6.png" alt="enter image description here"></a></p>