Firebase Storage is giving StorageException while trying to upload images
<p>I have been trying to upload images to the new firebase storage service . It is throwing StorageException</p>

<blockquote>
  <p>E/StorageException: StorageException has occurred.
                                                                          An unknown error occurred, please check the HTTP result code and inner
  exception for server response.
                                                                           Code: -13000 HttpResult: 400</p>
  
  <p>E/StorageException: The server has terminated the upload session
                                                                          java.io.IOException: The server has terminated the upload session
                                                                              at com.google.firebase.storage.UploadTask.zzVi(Unknown Source)
                                                                              at com.google.firebase.storage.UploadTask.zzVh(Unknown Source)
                                                                              at com.google.firebase.storage.UploadTask.run(Unknown Source)
                                                                              at com.google.firebase.storage.StorageTask$5.run(Unknown Source)
                                                                              at
  java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
                                                                              at
  java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
                                                                              at java.lang.Thread.run(Thread.java:818)</p>
</blockquote>