step-up-labs / firebase-database-dotnet

C# library for Firebase Realtime Database.
MIT License
671 stars 170 forks source link

Partial success #185

Closed tblack2200 closed 4 years ago

tblack2200 commented 5 years ago

Hello,

Just tried this in my project and it connects successfully. However, when I try to get the root node with the code below I get the following exception:

code Dim objFirebase As FirebaseClient Dim objQuery As ChildQuery Dim strAuthToken As String = "" Try objFirebase = New FirebaseClient("", New FirebaseOptions With { .AuthTokenAsyncFactory = Function() Task.FromResult(strAuthToken)})

        objQuery = Await objFirebase.Child("alert").OnceAsync(Of AlertData)()

    Catch ex As Exception
        strErrMsg = ex.Message
    End Try

end code

Exception occured while processing the request. Url: https:///alert/.json?auth= Request Data: Response: {"NewValue":"2019-01-23 12:36:38"}

The error message includes the correct response data, so why am I getting the error?

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 4 years ago

Closing the issue due to inactivity. Feel free to re-open