title: App Inventor TinyWebDB List Problems
body: <p>I got a problem using the <code>TinyWebDB</code> in App Inventor 2. Here's a Screenshot of the blockcode.</p>
  
  <p><img src="https://i.stack.imgur.com/RiHhI.png" alt="Blockcode Screenshot"></p>
  
  <p>The goal of this Screen is to store a list(array) of images and later query them with a button but my problem starts already earlier. First there is a variable initialized called fotoList and declared as an empty list. </p>
  
  <p>When this Screen initializes (left block) I store the empty fotoList under the tag FotoListTag. Then if the image under the tag "SteckbriefFoto" is not in this list -> getValue with tag "FotoListTag". Then he jumps into the block on the right and adds the photo .. other stuff not important .. at the end I store the list again in the <code>TinyWebDB</code> (and also in the <code>TinyDB</code>) with the tag "FotoListTag". Then it goes back to the block on the left where at the end I want to set an image.picture to the photo I stored in variable fotoList.</p>
  
  <p>When I compile the code there is an error opening the page that says </p>
  
  <pre><code>Select list item: List index too large 
  Select list item: Attempt to get item number 1 of a list of length 0:()
  </code></pre>
  
  <p>I just don't get the problem with this code and i hope someone can help me.</p>