-
Notifications
You must be signed in to change notification settings - Fork 1.6k
[firebase_storage]: The operation couldn’t be completed. Message too long #14742
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight. |
If it helps, I think this might have something to do with the wrong simulator ID being obtained somehow. If I upload a file through the iOS 18.3.1 simulator it has this problem and in Crashlytics I see this error:
Where If I then try the upload in the iOS 18.4 simulator it works, but only once and then other issues stop me from using that simulator further (why I'm using iOS 18.3.1 simulator currently). I'm not sure if it's related, but at the same time the App Check debug token for the iOS 18.4 simulator changed from what it was for that simulator previously, and I had to upload the new debug token to get it to work. |
Thanks @anthonymoretti. It does appear related to the simulator getting stuck in a bad state somehow, but it's strange it only seems to affect Firebase storage in this way and only for files beyond a certain size. I ended up just testing that bit on a real device and then when I have revisited later on the simulator, it's all working again for me fine now. I'll leave it to the team as to if they want to close this issue but I believe there is still a bug there somewhere within Firebase / Cloud storage iOS library code. |
Sorry for the late revert, @adamkoch. I'm wondering if you're still encountering the issue? I believe this might be an intermittent issue in the simulator (same with the other related issues). |
No prob @rizafran. It's resolved for me. You are welcome to close the issue. However, I do think an underlying bug still exists within the firebase storage iOS code somewhere (although it does appear limited in impact to the simulator). Nothing else that I noticed was broken in the simulator when this was not working. For future reference and others running into it, it seems the best thing to do is just switch to a brand new / different simulator. |
Description
Opening a new issue for this because the existing ones are all closed/locked and I cannot add to them.
I'm running into this issue all of a sudden when building/testing on the iOS simulator. I've been working on a feature that uploads files to Firebase storage for over a month now and had zero issues. Then suddenly, this last week, uploads start throwing this error every single test upload. I thought it was a code change but reverting to older code makes no difference.
The symptoms are very strange:
In Flutter, I am using:
Which is loading iOS Pod:
Here are the related firebase-ios-sdk issues:
#14392
#14124
And related Flutterfire issues:
firebase/flutterfire#12973
firebase/flutterfire#16999
Code to repro is same as from all the issues but simplest is this one. Essentially:
Tagging some ppl from other issues in case they ever found the root cause/problem or a solution
@feinstein @tranvansang
Reproducing the issue
No response
Firebase SDK Version
11.10.0
Xcode Version
16.1
Installation Method
CocoaPods
Firebase Product(s)
Firestore, Storage
Targeted Platforms
iOS
Relevant Log Output
If using Swift Package Manager, the project's Package.resolved
Expand
Package.resolved
snippetReplace this line with the contents of your Package.resolved.
If using CocoaPods, the project's Podfile.lock
Expand
Podfile.lock
snippetThe text was updated successfully, but these errors were encountered: