(This is my First Post)
I am facing an issue while using firebase, it gives an error stating “Previous value was empty” when appending a value to specific tag.
I tried creating a new project still same the Problem exists.
There is also a topic similar to this error, but I did not get a solution.
Similar Firebase Appending Problem found on Kodular Community
Problem with Solution in App Inventor community which does not work in Kodular Creator
I don’t know if I am making error in blocks or there is a issue because this app works perfectly when I exported this Aia File to App Inventor.
If there is no solution for Appending Values for Tag is there any other alternatives in Kodular other than Cloud DB(as it is experimental) or any extensions
The Blocks Image Below
The Error Image while appending the Value to Firebase below
The Aia File Below
Firebase_Append_Error.aia (2.6 KB)
Please let me know a Valuable Feedback,
@Chirubot,welcoem to the community !
for using append value in your app, your tag should contain a value, it can’t be empty , or doesn’t exist, or one of those reasons:
Also see here:
“FirebaseError: Previous value was empty.”
The value is a list and is not empty… why do i always get this error?
The Append block do not work like that?
Hello I’m from Brazil.
I am making an application for the teenagers in my church and almost finishing the application, I went to do some tests and returns this error to me: “Previous Value was Empty Error # 1150”.
I thought it was something from my app, but I did another project, simple, just 1 field and a button and it gives the same error.
I do not know what to do. I’ve searched everywhere, here on Kodular, on the internet, nothing …
Help me please.!
@Mohamed_Tamer for your suggestion,
I understand that I should include a text with value in
Get value, value if tag not there
I tried like this but the same error occurred
Thanks for all of your Suggestions.
I have made a guide which solves this problem.
I observed that there were
many queries on Firebase Database even me ! but eventually after trials and errors I solved the problem I had posted a solution to a Koder who had the same issue but I thought to make a more comprehensive guide on Firebase for begginers.
So lets get started!
Lets understand the blocks
The below warning is because there is no blocks associated with it.
[Firebase Database Data Changed]
This is an event triggered when the data changes in firebase, for exa…
P:S, you might want to tell the community what have you changed, which made it work for you
, I’ve not seen any major difference between your guide blocks and this blocks:
tell the community
First I created and connected the Database and Then Set the Blocks as below
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.