It's just trying to put a file to storage. No object should exist in the reference.
Then, I uploaded a dummy image to the storage from the console, and tried the code.
which also failed with the same error:
flutter: FirebaseStorageUtil upload: images/15D982CE-942C-458B-BB77-E1471224BE87/image.png
flutter: Upload Error: [firebase_storage/object-not-found] No object exists at the desired reference.
Storage rule:
service firebase.storage {
match /b/{bucket}/o {
match /{allPaths=**} {
allow read: if true;
allow write: if request.auth.uid != null;
}
}
}
flutter: FirebaseStorageUtil upload: images/15D982CE-942C-458B-BB77-E1471224BE87/2024-11-07T19:54:03.718426
flutter: Upload Error: [firebase_storage/object-not-found] No object exists at the desired reference.
Flutter dependencies
Expand Flutter dependencies snippet
```yaml
Replace this line with the contents of your `flutter pub deps -- --style=compact`.
```
Is there an existing issue for this?
Which plugins are affected?
Storage
Which platforms are affected?
iOS
Description
This code fails with
[firebase_storage/object-not-found] No object exists at the desired reference.
error.It's just trying to put a file to storage. No object should exist in the reference.
Then, I uploaded a dummy image to the storage from the console, and tried the code.
which also failed with the same error:
Storage rule:
Reproducing the issue
Try the code.
Firebase Core version
3.2.0
Flutter Version
3.4.3
Relevant Log Output
Flutter dependencies
Expand
Flutter dependencies
snippet```yaml Replace this line with the contents of your `flutter pub deps -- --style=compact`. ```
Additional context and comments
No response