bugthesystem / FireSharp

An asynchronous cross-platform .Net library for Firebase
The Unlicense
696 stars 147 forks source link

dot not allowed in request path #153

Open FEARIV opened 3 years ago

FEARIV commented 3 years ago

_client.SetAsync("/servers/server" + processID + ".json", serverData); I'm trying to add some data to firebase, but different methods all give the same error: FireSharp.Exceptions.FirebaseException: 'Request responded with status code=BadRequest, response={ "error" : "Invalid path: Invalid token in path" }' This is caused by the "." from ".json" which is added at the back of the path. With the dot removed, data gets added in 1 line, but I want seperated JSON values. In documentation I also see no ".json" in paths, but this is required by FireBase... How am I supposed to apply this?