# \[SOLVED\]Open AI error response "undefined"

**URL:** https://community.thunkable.com/t/solved-open-ai-error-response-undefined/2929846
**Category:** Issues / Bugs
**Tags:** help
**Created:** [April 4, 2024, 10:58pm UTC](https://community.thunkable.com/t/solved-open-ai-error-response-undefined/2929846 "2024-04-04T22:58:54Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![coder1234567891](https://avatars.discourse-cdn.com/v4/letter/c/9e8a1a/32.png) [@coder1234567891](https://community.thunkable.com/u/coder1234567891)
#### Post date: [April 4, 2024, 10:58pm UTC](https://community.thunkable.com/t/solved-open-ai-error-response-undefined/2929846/1 "2024-04-04T22:58:54Z")

</div>

Hello Everyone,

I am making an app that will generate a guided learning plan for you according to what you choose.

Example :  
The user selects 3rd grade in the drop-down, and in a different drop-down, the user selects math. Then the prompt will change according to the options chosen. Then the AI will create the plan.

But every time I run my program, it shows undefined in my error label.

Please help!

---

<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: [April 5, 2024, 1:02am UTC](https://community.thunkable.com/t/solved-open-ai-error-response-undefined/2929846/2 "2024-04-05T01:02:58Z")

</div>

Please review this because you haven’t provided enough information: [How to ask Great Questions v2.0](https://community.thunkable.com/t/how-to-ask-great-questions-v2-0/2689983)

How can we know what causes the problem if only you can see the blocks?

---

<div class="post-metadata">

### Author: ![coder1234567891](https://avatars.discourse-cdn.com/v4/letter/c/9e8a1a/32.png) [@coder1234567891](https://community.thunkable.com/u/coder1234567891)
#### Post date: [April 5, 2024, 8:42pm UTC](https://community.thunkable.com/t/solved-open-ai-error-response-undefined/2929846/3 "2024-04-05T20:42:44Z")

</div>

I figured it out… I had to change some of my Open AI properties because they were not integers.

---

<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: [April 9, 2024, 8:10pm UTC](https://community.thunkable.com/t/solved-open-ai-error-response-undefined/2929846/4 "2024-04-09T20:10:31Z")

</div>


