title: error getting token java.util.concurrent.ExecutionException: com.google.firebase.internal.api.FirebaseNoSignedInUserException
body: <p>I am trying to save an image to FireBase storage but I get an error saying:</p>
  
  <p><code>E/StorageUtil: error getting token java.util.concurrent.ExecutionException: com.google.firebase.internal.api.FirebaseNoSignedInUserException: Please sign in before trying to get a token.</code></p>
  
  <p>I have tried following the <a href="https://firebase.google.com/docs/auth/android/anonymous-auth?utm_source=studio" rel="nofollow noreferrer">FireBase tutorial</a> to authenticate anonymously but it still gives the same error</p>