# Error Ocurred when I load url images

**URL:** <https://community.thunkable.com/t/error-ocurred-when-i-load-url-images/715729>\
**Category:** Questions about Thunkable X\
**Created:** [August 2, 2020, 5:43am UTC](https://community.thunkable.com/t/error-ocurred-when-i-load-url-images/715729 "2020-08-02T05:43:14Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leito](https://avatars.discourse-cdn.com/v4/letter/l/bc8723/32.png) [@Leito](https://community.thunkable.com/u/Leito)\
**Post date:** [August 2, 2020, 5:43am UTC](https://community.thunkable.com/t/error-ocurred-when-i-load-url-images/715729/1 "2020-08-02T05:43:14Z")

</div>

Do anyone know what I can do with this? It Happens when I load url images repeated times

If I open screen one time, nothing happens but in the second or third, the app crashes with this errors.

I tried different things with repet, with while, with until, with count with i, with for each item j … etc all of them crashes.

 ![1](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/f/5f104f3c2cbec7709ed570a92267499c92c4ec45.png) ![2](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/a/8ac919dad41162ac14795041b44bcf951d20039c.png) ![WhatsApp Image 2020-07-30 at 22.07.56](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/0/704e15aa6f1900f559963deace4838be4f309280.jpeg) ![11](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/a/cadc2b8bd92fc138f5b406005b8333cd5387146e.png) ![12](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/2/32926fb70b4c88e5eda16deb15314dd21ad9972f.png) ![13](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/e/aec160d91412a25978fe240c0d08ce0263c713cf.png) ![14](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/6/e64f8a462d387703a1abaeb228def6672d06a219.png)

Any advice?

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [August 2, 2020, 10:02am UTC](https://community.thunkable.com/t/error-ocurred-when-i-load-url-images/715729/2 "2020-08-02T10:02:31Z")

</div>

You use the Open block, which is triggered every time you open the screen. This means that every time you open the screen, images load and something crashes. What is the function of BaresLoadsSinConexion?

What version of Live do you use?  
Can you write what is the total number of images?  
Are these some big photos in high quality?  
How much does one image weigh?  
I see a timer in your blocks. Are you sure that images are uploaded once, not many times?

---

<div class="post-metadata">

**Author:** ![hdawc](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/hdawc/32/119068_2.png) [@hdawc](https://community.thunkable.com/u/hdawc)\
**Post date:** [August 2, 2020, 3:15pm UTC](https://community.thunkable.com/t/error-ocurred-when-i-load-url-images/715729/3 "2020-08-02T15:15:15Z")

</div>

My advice might be to activate Windows for a start 😜

Anyway, when using that RealtimeDB, don’t you have to use a forward slash between the levels of Firebase?

You might also want to try using the Cloud Variable, it might be better to work with to get the data you want.

---

<div class="post-metadata">

**Author:** ![Leito](https://avatars.discourse-cdn.com/v4/letter/l/bc8723/32.png) [@Leito](https://community.thunkable.com/u/Leito)\
**Post date:** [August 2, 2020, 5:01pm UTC](https://community.thunkable.com/t/error-ocurred-when-i-load-url-images/715729/4 "2020-08-02T17:01:40Z")

</div>

I tried with “ScreenStarts” too, but the same thing happens. (Also I put “When ScreenOpens” because if the user changes the location) there are other images.  
This happens with the APK and in Thunkable live too. I m using the 206 version.

The maximum number of images are 20, in this case I loaded only 10  
The images weigh = 323 kb  
The timer function is only 1 sec of delay to set visible the screen to show all at the same time

Thanks

---

<div class="post-metadata">

**Author:** ![Leito](https://avatars.discourse-cdn.com/v4/letter/l/bc8723/32.png) [@Leito](https://community.thunkable.com/u/Leito)\
**Post date:** [August 2, 2020, 5:06pm UTC](https://community.thunkable.com/t/error-ocurred-when-i-load-url-images/715729/5 "2020-08-02T17:06:31Z")

</div>

Sory @hdawc What do you mean with activate windows? Thanks for the cloud variable tip.  
I will implement it but in this case, I think firebase isn’t the problem because the app crashes  
once I have everything stored in internal variables, so I attribute it to the loading of the images

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [August 2, 2020, 6:28pm UTC](https://community.thunkable.com/t/error-ocurred-when-i-load-url-images/715729/6 "2020-08-02T18:28:08Z")

</div>

Try performing sequential debugging - first remove all blocks from the BaresLoadsSinConexion function. If the problem has disappeared, then the problem is related to the sides in this function.

I may be wrong, but there may be a problem with the “app” variable blocks. Try using something else instead. Personally, I use variables from the parameters. Or the BaresLoadsSinConexion function there is some block that causes a failure.

> because if the user changes the location)

Do I understand correctly that you are using the Location and Map component? If so, the problem may be related to them.

If you give me full access to your app and database, I will find the problem. If you do not want to do this, then try to solve it yourself.

---

<div class="post-metadata">

**Author:** ![Leito](https://avatars.discourse-cdn.com/v4/letter/l/bc8723/32.png) [@Leito](https://community.thunkable.com/u/Leito)\
**Post date:** [August 2, 2020, 6:48pm UTC](https://community.thunkable.com/t/error-ocurred-when-i-load-url-images/715729/7 "2020-08-02T18:48:58Z")

</div>

I dont use location, the user selects the location among the options that I offer

I created a blank app and I tried with only 1 image per screen with top tab navigator  
if I slide the screens a couple of times it crashes  
What do you think that it could be?

 ![20](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/d/bd2c906721020210bc81886861254d296f4aa136.png) ![21](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/7/57ab9a98716664f0b0b5c4d6b7eaddf27d573335.jpeg)

---

<div class="post-metadata">

**Author:** ![Leito](https://avatars.discourse-cdn.com/v4/letter/l/bc8723/32.png) [@Leito](https://community.thunkable.com/u/Leito)\
**Post date:** [August 2, 2020, 6:56pm UTC](https://community.thunkable.com/t/error-ocurred-when-i-load-url-images/715729/8 "2020-08-02T18:56:20Z")

</div>

Okey I founded that it crashes only when I slide the first or the last screen in the opposite direction, in the direction where there is no other screen  
This in Thunkable live 206 version, I will try with APK to see what happens

Yep, in the APK happens the same

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [August 2, 2020, 7:24pm UTC](https://community.thunkable.com/t/error-ocurred-when-i-load-url-images/715729/9 "2020-08-02T19:24:22Z")

</div>

Simply put, the problem is in the screen Navigator. What component is used for navigation in your app?

---

<div class="post-metadata">

**Author:** ![Leito](https://avatars.discourse-cdn.com/v4/letter/l/bc8723/32.png) [@Leito](https://community.thunkable.com/u/Leito)\
**Post date:** [August 2, 2020, 7:29pm UTC](https://community.thunkable.com/t/error-ocurred-when-i-load-url-images/715729/10 "2020-08-02T19:29:37Z")

</div>

In my original app I only navigate from one screen to another with a single click in button.  
In the new blank app, with top tab navigator. (Sliding)

![25](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/c/cc38d2b174e3c36e72fb4b5cc65bb7cd2fe5b1b2.png)

---

<div class="post-metadata">

**Author:** ![hdawc](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/hdawc/32/119068_2.png) [@hdawc](https://community.thunkable.com/u/hdawc)\
**Post date:** [August 4, 2020, 2:48am UTC](https://community.thunkable.com/t/error-ocurred-when-i-load-url-images/715729/11 "2020-08-04T02:48:55Z")

</div>

All your screen-shots say “Activar Windows” - I was being facetious about your clearly un-activated (pirated? 😉) version of Windows 😜 😅

---

<div class="post-metadata">

**Author:** ![Leito](https://avatars.discourse-cdn.com/v4/letter/l/bc8723/32.png) [@Leito](https://community.thunkable.com/u/Leito)\
**Post date:** [August 4, 2020, 3:04am UTC](https://community.thunkable.com/t/error-ocurred-when-i-load-url-images/715729/12 "2020-08-04T03:04:11Z")

</div>

LOL em… It was a friend computer(?

---

<div class="post-metadata">

**Author:** ![hdawc](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/hdawc/32/119068_2.png) [@hdawc](https://community.thunkable.com/u/hdawc)\
**Post date:** [August 4, 2020, 3:37am UTC](https://community.thunkable.com/t/error-ocurred-when-i-load-url-images/715729/13 "2020-08-04T03:37:39Z")

</div>

😂 😂 😂

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 12:26pm UTC](https://community.thunkable.com/t/error-ocurred-when-i-load-url-images/715729/14 "2024-11-08T12:26:48Z")

</div>


