# Error when photo is not selected

**URL:** <https://community.thunkable.com/t/error-when-photo-is-not-selected/1342474>\
**Category:** Questions about Thunkable X\
**Created:** [June 13, 2021, 3:42pm UTC](https://community.thunkable.com/t/error-when-photo-is-not-selected/1342474 "2021-06-13T15:42:28Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![yash.sehgal.20391e](https://avatars.discourse-cdn.com/v4/letter/y/b19c9b/32.png) [@yash.sehgal.20391e](https://community.thunkable.com/u/yash.sehgal.20391e)\
**Post date:** [June 13, 2021, 3:42pm UTC](https://community.thunkable.com/t/error-when-photo-is-not-selected/1342474/1 "2021-06-13T15:42:28Z")

</div>

hey all I am making an image recognizer app in my app there is a function that the user can select an image app and can click an image my doubt is that if the user doesn’t click the photo or doesn’t select the photo the app shows a error

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [June 13, 2021, 4:25pm UTC](https://community.thunkable.com/t/error-when-photo-is-not-selected/1342474/2 "2021-06-13T16:25:57Z")

</div>

When you post on the forums, it’s really important to include a screenshot or link to your project so that we can see how you’ve set up your blocks.

---

<div class="post-metadata">

**Author:** ![yash.sehgal.20391e](https://avatars.discourse-cdn.com/v4/letter/y/b19c9b/32.png) [@yash.sehgal.20391e](https://community.thunkable.com/u/yash.sehgal.20391e)\
**Post date:** [June 13, 2021, 4:49pm UTC](https://community.thunkable.com/t/error-when-photo-is-not-selected/1342474/3 "2021-06-13T16:49:34Z")

</div>

it’s a private project

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [June 13, 2021, 5:04pm UTC](https://community.thunkable.com/t/error-when-photo-is-not-selected/1342474/4 "2021-06-13T17:04:24Z")

</div>

What would you like to do?

---

<div class="post-metadata">

**Author:** ![Dean\_Artis](https://avatars.discourse-cdn.com/v4/letter/d/a8b319/32.png) [@Dean\_Artis](https://community.thunkable.com/u/Dean_Artis)\
**Post date:** [June 13, 2021, 8:30pm UTC](https://community.thunkable.com/t/error-when-photo-is-not-selected/1342474/5 "2021-06-13T20:30:07Z")

</div>

Is it Aivon?

---

<div class="post-metadata">

**Author:** ![yash.sehgal.20391e](https://avatars.discourse-cdn.com/v4/letter/y/b19c9b/32.png) [@yash.sehgal.20391e](https://community.thunkable.com/u/yash.sehgal.20391e)\
**Post date:** [June 14, 2021, 3:13am UTC](https://community.thunkable.com/t/error-when-photo-is-not-selected/1342474/6 "2021-06-14T03:13:26Z")

</div>

yup but how did you got it

---

<div class="post-metadata">

**Author:** ![sketch](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sketch/32/109058_2.png) [@sketch](https://community.thunkable.com/u/sketch)\
**Post date:** [June 14, 2021, 7:10am UTC](https://community.thunkable.com/t/error-when-photo-is-not-selected/1342474/7 "2021-06-14T07:10:08Z")

</div>

Hi @yash.sehgal.20391e

> [@tatiang](#):
>
> it’s really important to include a screenshot or link to your project so that we can see how you’ve set up your blocks.

Without Any screenshots of the blocks or a link to the project we can’t help with your problem.  
Like @tatiang said please show us your screenshots of the blocks or a link of the project.  
Thanks!

---

<div class="post-metadata">

**Author:** ![yash.sehgal.20391e](https://avatars.discourse-cdn.com/v4/letter/y/b19c9b/32.png) [@yash.sehgal.20391e](https://community.thunkable.com/u/yash.sehgal.20391e)\
**Post date:** [June 14, 2021, 9:49am UTC](https://community.thunkable.com/t/error-when-photo-is-not-selected/1342474/8 "2021-06-14T09:49:43Z")

</div>

[https://x.thunkable.com/copy/5d1d4f6434771478d79742e942675250](https://x.thunkable.com/copy/5d1d4f6434771478d79742e942675250)

my app link

---

<div class="post-metadata">

**Author:** ![secondaryaccount](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/secondaryaccount/32/91441_2.png) [@secondaryaccount](https://community.thunkable.com/u/secondaryaccount)\
**Post date:** [June 14, 2021, 6:30pm UTC](https://community.thunkable.com/t/error-when-photo-is-not-selected/1342474/9 "2021-06-14T18:30:10Z")

</div>

Whenever you see a green block such as the `Error` block in Thunkable, it’s a response block and you need to check the value of it. If you ignore those blocks, your code will probably not work correctly.

The easiest way to start is to assign each green block to a label and then preview your project to see what those values are.

---

<div class="post-metadata">

**Author:** ![Dean\_Artis](https://avatars.discourse-cdn.com/v4/letter/d/a8b319/32.png) [@Dean\_Artis](https://community.thunkable.com/u/Dean_Artis)\
**Post date:** [June 14, 2021, 6:41pm UTC](https://community.thunkable.com/t/error-when-photo-is-not-selected/1342474/10 "2021-06-14T18:41:46Z")

</div>

I searched for it in the public gallery.

---

<div class="post-metadata">

**Author:** ![yash.sehgal.20391e](https://avatars.discourse-cdn.com/v4/letter/y/b19c9b/32.png) [@yash.sehgal.20391e](https://community.thunkable.com/u/yash.sehgal.20391e)\
**Post date:** [June 14, 2021, 6:58pm UTC](https://community.thunkable.com/t/error-when-photo-is-not-selected/1342474/11 "2021-06-14T18:58:30Z")

</div>

Oh okay

---

<div class="post-metadata">

**Author:** ![sketch](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sketch/32/109058_2.png) [@sketch](https://community.thunkable.com/u/sketch)\
**Post date:** [June 14, 2021, 7:35pm UTC](https://community.thunkable.com/t/error-when-photo-is-not-selected/1342474/12 "2021-06-14T19:35:03Z")

</div>

Yeah  
I also Saw those red error/warning message things.

---

<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, 1:20pm UTC](https://community.thunkable.com/t/error-when-photo-is-not-selected/1342474/13 "2024-11-08T13:20:16Z")

</div>


