I can save now, but now my problem is that Sync, I do not want to sync, only to save an object.
I need help on this, thanks. Em segunda-feira, 19 de setembro de 2016 00:27:06 UTC-4, [email protected] escreveu: > > I want to save an object, but i am get errors: > > this is my firebase-document: > > <firebase-document > id="ref" > path="{{firebaseURL}}/[[user.uid]]" > data="{{contato}}" > log> > </firebase-document> > > this is my method: > > saveContact: function() { > this.$.ref.save(this.$.ref.path, this.contato); > } > > I am get this error: > > firebase.js:318 Uncaught (in promise) Error: Firebase.child failed: First > argument was an invalid path: > "XXXXX/user/5iTMV0vyigOIvHpG00puivCdsfA3/[object Object]". Paths must be > non-empty strings and can't contain ".", "#", "$", "[", or "]"(…) > > I need help, thanks. > > > Rodolfo Azevedo > Follow Polymer on Google+: plus.google.com/107187849809354688692 --- You received this message because you are subscribed to the Google Groups "Polymer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/02016e77-faf6-4512-92d6-e0ae062649d8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
