title: Data not getting saved in Firebase database from android
body: <p>I am using the new Firebase console. I am trying to save an object to the database but its not getting saved. Following is the code.</p>
  
  <pre><code>DatabaseReference mFirebaseRef = FirebaseDatabase.getInstance().getReference();
  mFirebaseRef.push().setValue(object, new DatabaseReference.CompletionListener() {
              @Override
              public void onComplete(DatabaseError databaseError, DatabaseReference reference) {
                  if (databaseError != null) {
                      Log.e(TAG, "Failed to write message", databaseError.toException());
                  }
              }
          });
  </code></pre>
  
  <p>the 'object' is created properly. There is no error I am getting and I have checked in debugging that the onComplete method is not getting triggered. 
  Security Rule is also true for write.</p>