# Facing this error simple app that scans qr and send barcode to gpt

**URL:** <https://community.thunkable.com/t/facing-this-error-simple-app-that-scans-qr-and-send-barcode-to-gpt/3375872>\
**Category:** Web API's\
**Tags:** beginner\
**Created:** [November 29, 2024, 10:44am UTC](https://community.thunkable.com/t/facing-this-error-simple-app-that-scans-qr-and-send-barcode-to-gpt/3375872 "2024-11-29T10:44:05Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![tanmaykarpe249rt1fj](https://avatars.discourse-cdn.com/v4/letter/t/7ab992/32.png) [@tanmaykarpe249rt1fj](https://community.thunkable.com/u/tanmaykarpe249rt1fj)\
**Post date:** [November 29, 2024, 10:44am UTC](https://community.thunkable.com/t/facing-this-error-simple-app-that-scans-qr-and-send-barcode-to-gpt/3375872/1 "2024-11-29T10:44:05Z")

</div>

![Screenshot 2024-11-29 161310](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/b/3b3fecab1515b3da695ee3df935cd2c4fd9bdb8e.png)  
everything else is perfect but this is wrong

---

<div class="post-metadata">

**Author:** ![steve\_synopsis](https://avatars.discourse-cdn.com/v4/letter/s/48db29/32.png) [@steve\_synopsis](https://community.thunkable.com/u/steve_synopsis)\
**Post date:** [November 29, 2024, 12:36pm UTC](https://community.thunkable.com/t/facing-this-error-simple-app-that-scans-qr-and-send-barcode-to-gpt/3375872/2 "2024-11-29T12:36:55Z")

</div>

Hi,

Can you show us the blocks that you are using? Without that, it will hard form anyone to assist you.

---

<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:** [November 29, 2024, 5:27pm UTC](https://community.thunkable.com/t/facing-this-error-simple-app-that-scans-qr-and-send-barcode-to-gpt/3375872/3 "2024-11-29T17:27:39Z")

</div>

Yes and also a link to the API documentation.

---

<div class="post-metadata">

**Author:** ![tanmaykarpe249rt1fj](https://avatars.discourse-cdn.com/v4/letter/t/7ab992/32.png) [@tanmaykarpe249rt1fj](https://community.thunkable.com/u/tanmaykarpe249rt1fj)\
**Post date:** [November 30, 2024, 10:55am UTC](https://community.thunkable.com/t/facing-this-error-simple-app-that-scans-qr-and-send-barcode-to-gpt/3375872/4 "2024-11-30T10:55:04Z")

</div>

![Screenshot 2024-11-30 162147](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/a/0a2def5768457ade5ec9f289cb191513f1215f5e.png)  
also the link to docs [https://platform.openai.com/docs/api-reference/chat/create](https://platform.openai.com/docs/api-reference/chat/create)  
thanks for replying 🙂

---

<div class="post-metadata">

**Author:** ![tanmaykarpe249rt1fj](https://avatars.discourse-cdn.com/v4/letter/t/7ab992/32.png) [@tanmaykarpe249rt1fj](https://community.thunkable.com/u/tanmaykarpe249rt1fj)\
**Post date:** [November 30, 2024, 10:55am UTC](https://community.thunkable.com/t/facing-this-error-simple-app-that-scans-qr-and-send-barcode-to-gpt/3375872/5 "2024-11-30T10:55:57Z")

</div>

![Screenshot 2024-11-30 162147](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/a/0a2def5768457ade5ec9f289cb191513f1215f5e.png)

---

<div class="post-metadata">

**Author:** ![steve\_synopsis](https://avatars.discourse-cdn.com/v4/letter/s/48db29/32.png) [@steve\_synopsis](https://community.thunkable.com/u/steve_synopsis)\
**Post date:** [November 30, 2024, 11:31am UTC](https://community.thunkable.com/t/facing-this-error-simple-app-that-scans-qr-and-send-barcode-to-gpt/3375872/6 "2024-11-30T11:31:49Z")

</div>

Hi,

What I usually do is to run my API requests in [Postman](https://www.postman.com/) first to make sure that the Headers, Body, Query parameters, etc. are correct. Once I get back an expected response from the API, I then transfer it to Thunkable.

That way you are not trying to figure out if the error lies with Thunkable or the API query.

Steve
