I am trying to upload a file using below code on storage. It uploads a file with mimeType: 'application/x-empty' and 0 size. Actual file is not uploaded.
What wrong am I missing here?
The uploaded file is empty, with a 0 size and `mimeType: 'application/x-empty'`. The issue might be with the file upload code provided in the message.
Solution: Check if the file is being read correctly before upload using the provided code snippet.