Http Status 400 #330
Answered
by
mobizt
JoergTiedemann
asked this question in
Q&A
Http Status 400
#330
|
While writing to realtimedatabase with following code In processData I get the error message at aResult.error().message What could be the reason ? |
Answered by
mobizt
Jul 16, 2026
Replies: 3 comments 25 replies
|
The string sets to You have to print to check it. |
2 replies
|
I cannot reproduce your error in anyway. The JSON you posted is fine and does not make any Firebase Realtime database update error. I also test with the code you share but it is ok. The ssl client that sets to |
23 replies
|
The new version 2.2.13 is available, please try. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Great, thanks for confirming the hardware cause.
To answer your two questions:
1) Referencing the -118 error to the write operation
No, the auto-generated uid (e.g.
task_7697) cannot be traced back to your task uid. The reason is that when the queue is full, the task is rejected before its slot is created, so your uid ("WriteStatus") was never assigned — the error is reported through a temporary result object with an auto-generated uid.However, the -118 error callback is fired synchronously inside the
Database.set()call itself — it executes beforeDatabase.set()returns. So you always know which write operation it belongs to: the one you are currently calling. If you keep a variable wit…