Im getting this error in my firebase realtime database when trying to publish the new rules.The error is as it says in the title "missing ) after argument list" not really sure what the issue is but here is the line that gave me the error ,".validate": "newData.val().contains('data.parent().child('Name').val()')"
0
votes
Nevermind i found the issue (i had single quotes around data.parent().child('Name').val() as soon as i removed them everything was fine)
- XvKnightvX
Just curious: are you creating rules using by hand crafting the JSON? If so, have you considered using bolt? I've found it to be a very useful tool, once things get even a little complicated.
- cartant
I am but i'm very new to firebase i wasn't entirely sure what other options there were ill check it out thanks!!
- XvKnightvX
Bolt is definitely worth a look. After using it, I cannot imagine hand tooling the JSON rules. The best reference I found was this one.
- cartant