Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Realtime Database Async update hangs on error

Open
#598 3 comments 1 reaction 1 assignee View on GitHub

@jsdt is already working on this.

Since Sep 22, 2021.

Assessment

This issue has not been assessed yet.

Description

api: database
[REQUIRED] Step 2: Describe your environment
  • Operating System version: Docker openjdk:8 running on Google Cloud Run
  • Firebase SDK version: 8.0.1
  • Library version: 8.0.1
  • Firebase Product: RT Database (auth, database, storage, etc)
[REQUIRED] Step 3: Describe the problem

I made an update request with a completionListener with a badly sanitized key that had " and :. While I handled errors, this caused the request to end with an Internal error code. I forced the database call to timeout and received an error saying that my input was malformed.

Expectations: if the call to the database is malformed, it should just quit immediately instead of hang.

Steps to reproduce:
  1. Call the updateChildren function with a malformed key
  2. Force the callback to terminate (I used 5 seconds)
  3. You should see an error s.a Firebase Database error: Invalid token in path
Dominant language
Java
Stars
620
Forks
305
Avg merge
4d 9h
Merged PRs (30d)
4

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from firebase/firebase-admin-java

All issues in firebase/firebase-admin-java

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.