# BarCode scanner Issue

**URL:** <https://community.thunkable.com/t/barcode-scanner-issue/1084129>\
**Category:** Questions about Thunkable X\
**Tags:** beginner, internet, barcode\
**Created:** [February 5, 2021, 7:04pm UTC](https://community.thunkable.com/t/barcode-scanner-issue/1084129 "2021-02-05T19:04:17Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![qayuma8g](https://avatars.discourse-cdn.com/v4/letter/q/77aa72/32.png) [@qayuma8g](https://community.thunkable.com/u/qayuma8g)\
**Post date:** [February 5, 2021, 7:04pm UTC](https://community.thunkable.com/t/barcode-scanner-issue/1084129/1 "2021-02-05T19:04:17Z")

</div>

For some reason, when I click the button to scan something, it comes up undefined. I followed this tutorial:

[https://www.google.ca/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&ved=2ahUKEwjC0pj6ttPuAhXhct8KHV0HDkEQFjAAegQIARAC&url=https%3A%2F%2Fdocs.thunkable.com%2Fbarcode-scanner&usg=AOvVaw1reAHtbmCVNYWp3g24A73a](https://www.google.ca/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&ved=2ahUKEwjC0pj6ttPuAhXhct8KHV0HDkEQFjAAegQIARAC&url=https%3A%2F%2Fdocs.thunkable.com%2Fbarcode-scanner&usg=AOvVaw1reAHtbmCVNYWp3g24A73a)

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/6/06a60f811ddd896e514ded8f3f92dc809101ad11.jpeg) ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/d/ad0c90206462000f5bf46272c1dae77bfd47695b.jpeg)

---

<div class="post-metadata">

**Author:** ![rwoodhallnrh](https://avatars.discourse-cdn.com/v4/letter/r/3be4f8/32.png) [@rwoodhallnrh](https://community.thunkable.com/u/rwoodhallnrh)\
**Post date:** [June 9, 2021, 3:45am UTC](https://community.thunkable.com/t/barcode-scanner-issue/1084129/2 "2021-06-09T03:45:32Z")

</div>

I am having a similar issue. I click the button and the camera comes up. I then point at a QR code and it is recognized and the camera close. However, nothing is ever returned.

---

<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 9, 2021, 4:12am UTC](https://community.thunkable.com/t/barcode-scanner-issue/1084129/3 "2021-06-09T04:12:55Z")

</div>

When you post an issue on the forums, be sure to include at least a screenshot of your blocks. The project link is really helpful, too.

If you are using a block that generates a green `error` block, then you need to check the value of that block. You can assign it to a label, for example. What is the value of that `error` block?

You can see an example of how to use the `error` block in the documentation here:

> **[Barcode Scanner](https://docs.thunkable.com/barcode-scanner)**
>
> Enable your apps to read barcodes and QR codes

---

<div class="post-metadata">

**Author:** ![rwoodhallnrh](https://avatars.discourse-cdn.com/v4/letter/r/3be4f8/32.png) [@rwoodhallnrh](https://community.thunkable.com/u/rwoodhallnrh)\
**Post date:** [June 9, 2021, 2:43pm UTC](https://community.thunkable.com/t/barcode-scanner-issue/1084129/4 "2021-06-09T14:43:00Z")

</div>

I am new to using Thunkable and have found my error. The barcode scanner is working just fine.

---

<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 9, 2021, 3:26pm UTC](https://community.thunkable.com/t/barcode-scanner-issue/1084129/5 "2021-06-09T15:26:52Z")

</div>

Glad to hear it. It’s always helpful if you can post the solution you found.

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [June 9, 2021, 3:51pm UTC](https://community.thunkable.com/t/barcode-scanner-issue/1084129/6 "2021-06-09T15:51:22Z")

</div>

@qayuma8g - I appreciate you asked this a while ago, but were you ever able to get this working?

Did the scanner return any error?

Thanks,  
Domhnall

---

<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:29pm UTC](https://community.thunkable.com/t/barcode-scanner-issue/1084129/7 "2024-11-08T13:29:35Z")

</div>


