Firebase - add database rules - Path contains invalid characters












8















I'm following the tutorial of firebase.
But I can´t add the rules .read and .write



enter image description hereenter image description here










share|improve this question

























  • Still happens the same. Why downvote??

    – Ricardo
    Sep 28 '16 at 6:21








  • 2





    Maybe you missunderstand the RULE tab and the DATA tab.

    – RoShan Shan
    Sep 28 '16 at 6:30






  • 1





    Have a look at image in my answer you need to select RULES tab which is besides DATA

    – Nishant Dubey
    Sep 28 '16 at 6:35











  • @Ricardo I am facing the same issue with the tutorial. Did you find a definitive answer to your problem?

    – IgorGanapolsky
    Dec 15 '16 at 17:28
















8















I'm following the tutorial of firebase.
But I can´t add the rules .read and .write



enter image description hereenter image description here










share|improve this question

























  • Still happens the same. Why downvote??

    – Ricardo
    Sep 28 '16 at 6:21








  • 2





    Maybe you missunderstand the RULE tab and the DATA tab.

    – RoShan Shan
    Sep 28 '16 at 6:30






  • 1





    Have a look at image in my answer you need to select RULES tab which is besides DATA

    – Nishant Dubey
    Sep 28 '16 at 6:35











  • @Ricardo I am facing the same issue with the tutorial. Did you find a definitive answer to your problem?

    – IgorGanapolsky
    Dec 15 '16 at 17:28














8












8








8


2






I'm following the tutorial of firebase.
But I can´t add the rules .read and .write



enter image description hereenter image description here










share|improve this question
















I'm following the tutorial of firebase.
But I can´t add the rules .read and .write



enter image description hereenter image description here







firebase firebase-realtime-database firebase-security






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 28 '16 at 13:42









Frank van Puffelen

230k28377401




230k28377401










asked Sep 28 '16 at 6:15









RicardoRicardo

2,41143458




2,41143458













  • Still happens the same. Why downvote??

    – Ricardo
    Sep 28 '16 at 6:21








  • 2





    Maybe you missunderstand the RULE tab and the DATA tab.

    – RoShan Shan
    Sep 28 '16 at 6:30






  • 1





    Have a look at image in my answer you need to select RULES tab which is besides DATA

    – Nishant Dubey
    Sep 28 '16 at 6:35











  • @Ricardo I am facing the same issue with the tutorial. Did you find a definitive answer to your problem?

    – IgorGanapolsky
    Dec 15 '16 at 17:28



















  • Still happens the same. Why downvote??

    – Ricardo
    Sep 28 '16 at 6:21








  • 2





    Maybe you missunderstand the RULE tab and the DATA tab.

    – RoShan Shan
    Sep 28 '16 at 6:30






  • 1





    Have a look at image in my answer you need to select RULES tab which is besides DATA

    – Nishant Dubey
    Sep 28 '16 at 6:35











  • @Ricardo I am facing the same issue with the tutorial. Did you find a definitive answer to your problem?

    – IgorGanapolsky
    Dec 15 '16 at 17:28

















Still happens the same. Why downvote??

– Ricardo
Sep 28 '16 at 6:21







Still happens the same. Why downvote??

– Ricardo
Sep 28 '16 at 6:21






2




2





Maybe you missunderstand the RULE tab and the DATA tab.

– RoShan Shan
Sep 28 '16 at 6:30





Maybe you missunderstand the RULE tab and the DATA tab.

– RoShan Shan
Sep 28 '16 at 6:30




1




1





Have a look at image in my answer you need to select RULES tab which is besides DATA

– Nishant Dubey
Sep 28 '16 at 6:35





Have a look at image in my answer you need to select RULES tab which is besides DATA

– Nishant Dubey
Sep 28 '16 at 6:35













@Ricardo I am facing the same issue with the tutorial. Did you find a definitive answer to your problem?

– IgorGanapolsky
Dec 15 '16 at 17:28





@Ricardo I am facing the same issue with the tutorial. Did you find a definitive answer to your problem?

– IgorGanapolsky
Dec 15 '16 at 17:28












3 Answers
3






active

oldest

votes


















3














You are adding rules at wrong place. That is the reason for downvotes. This is the data structure not your rules document.



Put json rules under database rules tab. You have to put rules here. Please check. enter image description here






share|improve this answer


























  • The OP's question was about DATA tab in Firebase DB, not RULES tab.

    – IgorGanapolsky
    Dec 15 '16 at 17:28



















23














Actually, this Firebase DB error is frequently caused by an outdated webpage cache. All you need to do is refresh the Realtime Database webpage, and then you'll be able to add your new values:



enter image description here






share|improve this answer































    1














    This is happening because the path that includes the key CANNOT have "." period marks according to this link.




    As all Firebase Realtime Database data is stored as JSON objects, when
    you create your own keys, they must be UTF-8 encoded, can be a maximum
    of 768 bytes, and cannot contain ., $, #, [, ], /, or ASCII control
    characters 0-31 or 127. You cannot use ASCII control characters in the
    values themselves, either.




    I wish this helps you.



    And if you want to deal with RULES follow what IGOR said.
    Best regards.






    share|improve this answer























      Your Answer






      StackExchange.ifUsing("editor", function () {
      StackExchange.using("externalEditor", function () {
      StackExchange.using("snippets", function () {
      StackExchange.snippets.init();
      });
      });
      }, "code-snippets");

      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "1"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f39739343%2ffirebase-add-database-rules-path-contains-invalid-characters%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      3














      You are adding rules at wrong place. That is the reason for downvotes. This is the data structure not your rules document.



      Put json rules under database rules tab. You have to put rules here. Please check. enter image description here






      share|improve this answer


























      • The OP's question was about DATA tab in Firebase DB, not RULES tab.

        – IgorGanapolsky
        Dec 15 '16 at 17:28
















      3














      You are adding rules at wrong place. That is the reason for downvotes. This is the data structure not your rules document.



      Put json rules under database rules tab. You have to put rules here. Please check. enter image description here






      share|improve this answer


























      • The OP's question was about DATA tab in Firebase DB, not RULES tab.

        – IgorGanapolsky
        Dec 15 '16 at 17:28














      3












      3








      3







      You are adding rules at wrong place. That is the reason for downvotes. This is the data structure not your rules document.



      Put json rules under database rules tab. You have to put rules here. Please check. enter image description here






      share|improve this answer















      You are adding rules at wrong place. That is the reason for downvotes. This is the data structure not your rules document.



      Put json rules under database rules tab. You have to put rules here. Please check. enter image description here







      share|improve this answer














      share|improve this answer



      share|improve this answer








      edited Sep 28 '16 at 6:36

























      answered Sep 28 '16 at 6:29









      Nishant DubeyNishant Dubey

      1,947617




      1,947617













      • The OP's question was about DATA tab in Firebase DB, not RULES tab.

        – IgorGanapolsky
        Dec 15 '16 at 17:28



















      • The OP's question was about DATA tab in Firebase DB, not RULES tab.

        – IgorGanapolsky
        Dec 15 '16 at 17:28

















      The OP's question was about DATA tab in Firebase DB, not RULES tab.

      – IgorGanapolsky
      Dec 15 '16 at 17:28





      The OP's question was about DATA tab in Firebase DB, not RULES tab.

      – IgorGanapolsky
      Dec 15 '16 at 17:28













      23














      Actually, this Firebase DB error is frequently caused by an outdated webpage cache. All you need to do is refresh the Realtime Database webpage, and then you'll be able to add your new values:



      enter image description here






      share|improve this answer




























        23














        Actually, this Firebase DB error is frequently caused by an outdated webpage cache. All you need to do is refresh the Realtime Database webpage, and then you'll be able to add your new values:



        enter image description here






        share|improve this answer


























          23












          23








          23







          Actually, this Firebase DB error is frequently caused by an outdated webpage cache. All you need to do is refresh the Realtime Database webpage, and then you'll be able to add your new values:



          enter image description here






          share|improve this answer













          Actually, this Firebase DB error is frequently caused by an outdated webpage cache. All you need to do is refresh the Realtime Database webpage, and then you'll be able to add your new values:



          enter image description here







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Dec 15 '16 at 17:37









          IgorGanapolskyIgorGanapolsky

          14.6k1388120




          14.6k1388120























              1














              This is happening because the path that includes the key CANNOT have "." period marks according to this link.




              As all Firebase Realtime Database data is stored as JSON objects, when
              you create your own keys, they must be UTF-8 encoded, can be a maximum
              of 768 bytes, and cannot contain ., $, #, [, ], /, or ASCII control
              characters 0-31 or 127. You cannot use ASCII control characters in the
              values themselves, either.




              I wish this helps you.



              And if you want to deal with RULES follow what IGOR said.
              Best regards.






              share|improve this answer




























                1














                This is happening because the path that includes the key CANNOT have "." period marks according to this link.




                As all Firebase Realtime Database data is stored as JSON objects, when
                you create your own keys, they must be UTF-8 encoded, can be a maximum
                of 768 bytes, and cannot contain ., $, #, [, ], /, or ASCII control
                characters 0-31 or 127. You cannot use ASCII control characters in the
                values themselves, either.




                I wish this helps you.



                And if you want to deal with RULES follow what IGOR said.
                Best regards.






                share|improve this answer


























                  1












                  1








                  1







                  This is happening because the path that includes the key CANNOT have "." period marks according to this link.




                  As all Firebase Realtime Database data is stored as JSON objects, when
                  you create your own keys, they must be UTF-8 encoded, can be a maximum
                  of 768 bytes, and cannot contain ., $, #, [, ], /, or ASCII control
                  characters 0-31 or 127. You cannot use ASCII control characters in the
                  values themselves, either.




                  I wish this helps you.



                  And if you want to deal with RULES follow what IGOR said.
                  Best regards.






                  share|improve this answer













                  This is happening because the path that includes the key CANNOT have "." period marks according to this link.




                  As all Firebase Realtime Database data is stored as JSON objects, when
                  you create your own keys, they must be UTF-8 encoded, can be a maximum
                  of 768 bytes, and cannot contain ., $, #, [, ], /, or ASCII control
                  characters 0-31 or 127. You cannot use ASCII control characters in the
                  values themselves, either.




                  I wish this helps you.



                  And if you want to deal with RULES follow what IGOR said.
                  Best regards.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Nov 23 '18 at 19:10









                  Dimitri de JesusDimitri de Jesus

                  236




                  236






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Stack Overflow!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f39739343%2ffirebase-add-database-rules-path-contains-invalid-characters%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Berounka

                      Sphinx de Gizeh

                      Different font size/position of beamer's navigation symbols template's content depending on regular/plain...