Having issue with lists

I am experiencing a problem of 2 errors.

One: The operation is list empty? cannot accept the arguments

Two: The operation add items to list cannot accept the arguments

I see these errors when I try to add and remove items from a list.

FinalProject2025 (1).aia (52.5 KB)

If you are asking for help, I recommend you to make it as easy for others to be able to help you ...
You probably will get more feedback then...

which means in your case post a screenshot of your relevant blocks...

To download the aia file, upload it to App Inventor, open it, do some bug hunting for you, etc... this takes time, and most people will not do that...
Thank you.

Taifun

This code segment from Screen1 should be in the event that receives from CloudDB. You are losing the local tag and value.

Also, you are using Textbox1.Fontsize when you should be using Textbox1.Text

Draggable fix:

You used the wrong default for the list value under CloudDB tag 'Spinner Elements'. It should be Create Empty List, not text blank.

This draggable block should make your Spinner Elements tag/value a list and load it into your global journeyentrylist and your spinner Elements.

This is wrong.

You reuse the same tags for each journal entry when you save them in CloudDB.

For CloudDB, you need to build up text JOINs for your tags, with each tag preceded by the matching spinner Element, a '/', then the text 'Attached Picture', 'Journal Entry',...

When the data arrives, use a text Contains test against the tag instead of a math = to see which part of the journal entry arrived.

More tag fixes, wrong and right:




The ones with the JOINs and the CONTAINS are the right ones to use.

That should move you along further.
FinalProject20251 (1).aia (53.2 KB)

Thank you for your time and help ABG. :slight_smile:

P4Platypus44

BTW, you are missing two CloudDB events

  • CloudDB error notification
  • CloudDB successful write complete notification

Things can go wrong in the cloud

Thank you sooooo much. You are a lifesaver :slight_smile: