Firebase - add database rules - Path contains invalid characters
I'm following the tutorial of firebase.
But I can´t add the rules .read
and .write
firebase firebase-realtime-database firebase-security
add a comment |
I'm following the tutorial of firebase.
But I can´t add the rules .read
and .write
firebase firebase-realtime-database firebase-security
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
add a comment |
I'm following the tutorial of firebase.
But I can´t add the rules .read
and .write
firebase firebase-realtime-database firebase-security
I'm following the tutorial of firebase.
But I can´t add the rules .read
and .write
firebase firebase-realtime-database firebase-security
firebase firebase-realtime-database firebase-security
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
add a comment |
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
add a comment |
3 Answers
3
active
oldest
votes
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.
The OP's question was about DATA tab in Firebase DB, not RULES tab.
– IgorGanapolsky
Dec 15 '16 at 17:28
add a comment |
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:
add a comment |
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.
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
The OP's question was about DATA tab in Firebase DB, not RULES tab.
– IgorGanapolsky
Dec 15 '16 at 17:28
add a comment |
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.
The OP's question was about DATA tab in Firebase DB, not RULES tab.
– IgorGanapolsky
Dec 15 '16 at 17:28
add a comment |
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.
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.
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
add a comment |
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
add a comment |
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:
add a comment |
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:
add a comment |
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:
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:
answered Dec 15 '16 at 17:37
IgorGanapolskyIgorGanapolsky
14.6k1388120
14.6k1388120
add a comment |
add a comment |
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.
add a comment |
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.
add a comment |
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.
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.
answered Nov 23 '18 at 19:10
Dimitri de JesusDimitri de Jesus
236
236
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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