Comments (9)
@rabejarano - out of curiosity, have you tried a get()
request to find a document which has a master_league
property with the value true
or false
? It might be that it slipped into your database somehow which is why this exception is appearing.
from flutterfire.
At first I thought it could be something like that, a bad implementation. But if this were the case, the previous data called market_cap would present the problem.
On the other hand, I have a flow of an average of 20k users per month and for example in this month of May the error only occurred in 700 users. If it were a bad technical implementation it should happen to everyone :s.
The last thing and what seems even more strange to me is that I did the same implementation in a test, as you can see above and it works correctly.
Honestly, im very confused.
If you need me to share some specific information with you, I have no problem providing it to you.
Thank you so much for your help
from flutterfire.
I don't know where that property is in the structure of your database, but maybe run a test to find a document in whatever collection it is in, to find a master_league
property with a boolean value to see if it is there?
from flutterfire.
It is very strange because as I share the image above with the test I previously did, this error never happens to me. Everything works correctly for me.
In the image above the way I have the database structured is
collection/document/data
app_setup/features/master_league
The point is that if it were indeed poorly structured, all users should perceive this error, but this is not the case. only a few users have the error.
from flutterfire.
In your screenshot, you're casting it to a map, but the exception is telling you it is a boolean.
If it isn't master_league
, it might be something else in your database that is supposed to be a map but is a boolean. I can't help you on this without a reproduction I'm afraid.
from flutterfire.
But that's the problem, I don't know how to reproduce it. I don't understand how Firebase is recognizing a Map as a Boolean.
What else could be in my database? I can share with you whatever you need.
from flutterfire.
I would add logging to the part where you parse the data, particularly where you are expecting a map. It looks like something in your database is a boolean when a map is expected. That is the what the exception is saying. If you can find out what the user was doing when the exception occurred, that would narrow it down as you could add logging to that specific area of your app.
from flutterfire.
Thank you very much for your answer. I'm going to add tracking. You're very kind.
from flutterfire.
Hey @rabejarano. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically.
If you have more information that will help us get to the bottom of this, just add a comment!
from flutterfire.
Related Issues (20)
- [flutterfire_configure]: Error: write EPIPE HOT 1
- [firebase_messaging]: (Beta) Build Error Using iOS 18 SDK, Xcode 16. HOT 4
- Is there any update on how to remove the RECAPTCHA from IOS flutter? HOT 3
- [firebase_crashlytics][iOS]: Crashed: com.google.firebase.crashlytics.ios.exception HOT 5
- [cloud_firestore]: FirebaseFirestore instanceFor working only with (default) database on Windows HOT 1
- [Data Connect] Data Connect feature request HOT 1
- MESSAGING: Parcelable protocol requires subclassing from Parcelable on class com.google.firebase.messaging.q0 HOT 7
- [firebase_database]: web no result when listening to multiple onValue streams on the same path HOT 3
- π [firebase_auth] Update MFA Phone Number HOT 2
- [firebase_core]: Firebase.initializeApp works locally on flutter web, but throws exception on deploy done in AWS Amplify HOT 3
- [firebase_auth 4.20.0]: Use Anonymously, currentUser is null HOT 2
- firebase_messaging: including 15.0.2 in pubspec.yaml causes crash HOT 4
- Firebase Messaging: getToken() error on web HOT 9
- [firebase_auth]: GoogleAuthProvider scopes don't seem to do anything HOT 1
- [FirebaseAuth]: Can't listen to Facebook login HOT 6
- firebase_auth: ^5.1.1 Cannot create firebase user from facebook auth HOT 3
- [firebase_core_web]: No Firebase App '[DEFAULT]' has been created HOT 12
- [firebase_firestore]: Stream does not load value, but future does on web HOT 10
- πFirebase App Check Please update dependency SafetyNet to play integrity HOT 1
- if (!OSAtomicCompareAndSwapPtrBarrier(nil, worker, (void * volatile *)& descriptor)) { HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutterfire.