In case of an error happens with an image that we try to upload (e.g. File Too Large), this information is not reflected on the uploadStateChanged Event, when its emitted. Hence, it is not possible to identify when an error occurs while uploading an image.