I am developing android application where a user clicks image, it gets stored in firebase, cloud functions process this image and stores the output back in the firebase in t
Firebase storage API is setup in a way that the user only request a file that exists.
Thus a non-existing file will have to be handled as an error:
You can check the documentation here