# Open AI package doesn't work

**URL:** https://community.thunkable.com/t/open-ai-package-doesnt-work/2610952
**Category:** Issues / Bugs
**Tags:** ai
**Created:** [September 24, 2023, 10:53am UTC](https://community.thunkable.com/t/open-ai-package-doesnt-work/2610952 "2023-09-24T10:53:33Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![vishruth-ram](https://avatars.discourse-cdn.com/v4/letter/v/82dd89/32.png) [@vishruth-ram](https://community.thunkable.com/u/vishruth-ram)
#### Post date: [September 24, 2023, 10:53am UTC](https://community.thunkable.com/t/open-ai-package-doesnt-work/2610952/1 "2023-09-24T10:53:34Z")

</div>

I have created an app that gets weather and sends it to `GPT-3.5` and gets the response. I a not a beginner. I have entered the API key. It worked on [chat.openai.com](http://chat.openai.com) but it gives the result `undefined` here. ( this key is BRAND NEW )

---

<div class="post-metadata">

### Author: ![vishruth-ram](https://avatars.discourse-cdn.com/v4/letter/v/82dd89/32.png) [@vishruth-ram](https://community.thunkable.com/u/vishruth-ram)
#### Post date: [September 24, 2023, 11:01am UTC](https://community.thunkable.com/t/open-ai-package-doesnt-work/2610952/2 "2023-09-24T11:01:52Z")

</div>

@pacecode how did it work for you?

---

<div class="post-metadata">

### Author: ![vishruth-ram](https://avatars.discourse-cdn.com/v4/letter/v/82dd89/32.png) [@vishruth-ram](https://community.thunkable.com/u/vishruth-ram)
#### Post date: [September 24, 2023, 11:02am UTC](https://community.thunkable.com/t/open-ai-package-doesnt-work/2610952/3 "2023-09-24T11:02:46Z")

</div>

Please reply quickly I am trying to publish this app on Google Play

---

<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: [September 24, 2023, 5:14pm UTC](https://community.thunkable.com/t/open-ai-package-doesnt-work/2610952/4 "2023-09-24T17:14:04Z")

</div>

You don’t need to tell us you are not a beginner. We all struggle with different parts of programming so it’s okay if you aren’t able to get something to work. But… you need to provide **more details**. This is the description for the “Questions about Thunkable” category where you posted this:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/4/44a98eab52b62d745bd222e9cf93734c74ed920d.png)

Also, asking another user to reply quickly is considered rude. If you need help immediately, consider paying someone to help you or reaching out to Thunkable Staff during business hours.

---

<div class="post-metadata">

### Author: ![pacecode](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/pacecode/32/209017_2.png) [@pacecode](https://community.thunkable.com/u/pacecode)
#### Post date: [September 25, 2023, 12:36am UTC](https://community.thunkable.com/t/open-ai-package-doesnt-work/2610952/5 "2023-09-25T00:36:17Z")

</div>

@tatiang is very right. Can you Please share a Screenshot of your Blocks so that we can Understand your project working.

---

<div class="post-metadata">

### Author: ![pacecode](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/pacecode/32/209017_2.png) [@pacecode](https://community.thunkable.com/u/pacecode)
#### Post date: [September 25, 2023, 9:46am UTC](https://community.thunkable.com/t/open-ai-package-doesnt-work/2610952/6 "2023-09-25T09:46:15Z")

</div>

You Might be Referring to [this](https://x.thunkable.com/projectPage/65101e3470b9352541c3f0d1) project.  
 ![Capture](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/8/989697c98ae9169b4228b12f224a19f6a2415807.png)  
I was getting the Response when I entered my OpenAI API key.

---

<div class="post-metadata">

### Author: ![vishruth-ram](https://avatars.discourse-cdn.com/v4/letter/v/82dd89/32.png) [@vishruth-ram](https://community.thunkable.com/u/vishruth-ram)
#### Post date: [September 25, 2023, 12:10pm UTC](https://community.thunkable.com/t/open-ai-package-doesnt-work/2610952/7 "2023-09-25T12:10:56Z")

</div>

Yes @pacecode I was referring to that project

---

<div class="post-metadata">

### Author: ![vishruth-ram](https://avatars.discourse-cdn.com/v4/letter/v/82dd89/32.png) [@vishruth-ram](https://community.thunkable.com/u/vishruth-ram)
#### Post date: [September 26, 2023, 1:26pm UTC](https://community.thunkable.com/t/open-ai-package-doesnt-work/2610952/8 "2023-09-26T13:26:50Z")

</div>

Hi, @tatiang and @pacecode for your response but I switched to PaLM 2 API ( because of the 3 requests per minute thingy ) 😇

---

<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:33pm UTC](https://community.thunkable.com/t/open-ai-package-doesnt-work/2610952/9 "2024-11-08T13:33:27Z")

</div>


