Firebase/FireSharp error (auth token)

588 views
Skip to first unread message

Rafael O. Teixeira

unread,
Oct 3, 2016, 12:24:34 AM10/3/16
to Firebase Google Group
I'm trying this:
            try
            {
                string BasePath = "https://xxxx-xxxx.firebaseio.com/";
                string FirebaseSecret = "xxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxx";

                IFirebaseConfig config = new FirebaseConfig();

                config.AuthSecret = FirebaseSecret;
                config.BasePath = BasePath;

                IFirebaseClient client;

                //Initializing FirebaseClient with reference link
                client = new FirebaseClient(config);

                var response = await client.GetAsync("test");

            }
            catch (Exception ex)
            {

            }


But I receive this error:
{"Request responded with status code=BadRequest, response={\n  \"error\" : \"Could not parse auth token.\"\n}\n"}

What should I do? Thanks

Jacob Wenger

unread,
Oct 3, 2016, 12:45:30 PM10/3/16
to fireba...@googlegroups.com
Also posted on the FireSharp issue tracker here. Please indicate when you cross-post to avoid duplicate effort. Also, note that FireSharp is not an official Firebase SDK, so your best bet is indeed to just ask on the repo's issue tracker itself.

Cheers,
Jacob



--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/726ba864-bb4b-4060-8fac-8ce8eed673d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages