# OpenAI Integration DALL-E "Generate an Image: could not fetch"

**URL:** <https://community.glideapps.com/t/openai-integration-dall-e-generate-an-image-could-not-fetch/60330>\
**Category:** Report a Bug\
**Created:** [April 9, 2023, 3:12pm UTC](https://community.glideapps.com/t/openai-integration-dall-e-generate-an-image-could-not-fetch/60330 "2023-04-09T15:12:13Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nicholas\_Sollazzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nicholas_sollazzo/32/57290_2.png) [@Nicholas\_Sollazzo](https://community.glideapps.com/u/Nicholas_Sollazzo)\
**Post date:** [April 9, 2023, 3:12pm UTC](https://community.glideapps.com/t/openai-integration-dall-e-generate-an-image-could-not-fetch/60330/1 "2023-04-09T15:12:13Z")

</div>

**My App/Pages support link:**

- [Glide](https://go.glideapps.com/support/29af2630-cbd1-48fd-bd97-283629d9b14a)

**Describe the bug:**

- After entering tha OpenAI API Key and made an action to generate an image using the DALL-E integration, i receive the error “Generate an Image: could not fetch”.

**Expected behavior:**

- Generate an image using the OpenAI DALL-E Integration

**How to replicate:**

1. Enter the OpenAI API Key
2. Create an action that uses the Open AI Integration to generate an image

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/c/9/c904d62c765d3f428d2b2236668bce7631cdc744.jpeg)

**Link to demo recording:**

- The app is all in Italian but I will translate it if needed and share a video

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [April 9, 2023, 3:17pm UTC](https://community.glideapps.com/t/openai-integration-dall-e-generate-an-image-could-not-fetch/60330/2 "2023-04-09T15:17:17Z")

</div>

Works for me.

 ![CleanShot 2023-04-09 at 23.15.42@2x](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/f/6/f6d953518b86a1827c6e00fd4f9a82eae9b8cdde.jpeg)

Are you sure that your API Key is correct?  
Are you sure you’re not sending an empty prompt?  
Has it ever worked for you?

---

<div class="post-metadata">

**Author:** ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)\
**Post date:** [April 9, 2023, 3:21pm UTC](https://community.glideapps.com/t/openai-integration-dall-e-generate-an-image-could-not-fetch/60330/3 "2023-04-09T15:21:24Z")

</div>

Also… you have to clean requests from any characters that are not allowed… like return carriage

---

<div class="post-metadata">

**Author:** ![Nicholas\_Sollazzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nicholas_sollazzo/32/57290_2.png) [@Nicholas\_Sollazzo](https://community.glideapps.com/u/Nicholas_Sollazzo)\
**Post date:** [April 9, 2023, 3:27pm UTC](https://community.glideapps.com/t/openai-integration-dall-e-generate-an-image-could-not-fetch/60330/4 "2023-04-09T15:27:47Z")

</div>

> Are you sure that your API Key is correct?

I’have generate a new API Key but I have the same issue

> Are you sure you’re not sending an empty prompt?

In the action I check if the description, which is my prompt, is not empty  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/f/2/f22e1714a411c398142276cb523ef66bd6386165.png)

> Has it ever worked for you?

yes, it used to work but now it doesn’t work at all. It seems like it doesn’t save the API Key

---

<div class="post-metadata">

**Author:** ![Nicholas\_Sollazzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nicholas_sollazzo/32/57290_2.png) [@Nicholas\_Sollazzo](https://community.glideapps.com/u/Nicholas_Sollazzo)\
**Post date:** [April 9, 2023, 3:29pm UTC](https://community.glideapps.com/t/openai-integration-dall-e-generate-an-image-could-not-fetch/60330/5 "2023-04-09T15:29:30Z")

</div>

> Also… you have to clean requests from any characters that are not allowed… like return carriage

I tried to use a simple “pizza” as my description but it still do not work

---

<div class="post-metadata">

**Author:** ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)\
**Post date:** [April 9, 2023, 3:29pm UTC](https://community.glideapps.com/t/openai-integration-dall-e-generate-an-image-could-not-fetch/60330/6 "2023-04-09T15:29:45Z")

</div>

it works on my page:

> **[External Data Source](https://external-data-1.glide.page/dl/a55b37)**
>
> Multi Spreadsheets Data source for Glide Pages with Stripe and PayPal integrations, Address Picker, Custom Emails, PDF Invoice Creator. Unlimited rows and updates.

---

<div class="post-metadata">

**Author:** ![Nicholas\_Sollazzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nicholas_sollazzo/32/57290_2.png) [@Nicholas\_Sollazzo](https://community.glideapps.com/u/Nicholas_Sollazzo)\
**Post date:** [April 9, 2023, 3:33pm UTC](https://community.glideapps.com/t/openai-integration-dall-e-generate-an-image-could-not-fetch/60330/7 "2023-04-09T15:33:40Z")

</div>

This is crazy… i tried to make a simple page but still nothing…

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/f/8f990f0e3890bcfe7ab331e930c82278019665b5.jpeg)

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [April 9, 2023, 3:34pm UTC](https://community.glideapps.com/t/openai-integration-dall-e-generate-an-image-could-not-fetch/60330/8 "2023-04-09T15:34:56Z")

</div>

Maybe try removing the integration and then adding it again?

---

<div class="post-metadata">

**Author:** ![Nicholas\_Sollazzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nicholas_sollazzo/32/57290_2.png) [@Nicholas\_Sollazzo](https://community.glideapps.com/u/Nicholas_Sollazzo)\
**Post date:** [April 9, 2023, 3:44pm UTC](https://community.glideapps.com/t/openai-integration-dall-e-generate-an-image-could-not-fetch/60330/9 "2023-04-09T15:44:01Z")

</div>

Nothing is working…

[](https://www.youtube.com/watch?v=IVPbWD9-_dM)

---

<div class="post-metadata">

**Author:** ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)\
**Post date:** [April 9, 2023, 3:49pm UTC](https://community.glideapps.com/t/openai-integration-dall-e-generate-an-image-could-not-fetch/60330/10 "2023-04-09T15:49:21Z")

</div>

Are you sure your quota for DALE-E is not finished?

---

<div class="post-metadata">

**Author:** ![Nicholas\_Sollazzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nicholas_sollazzo/32/57290_2.png) [@Nicholas\_Sollazzo](https://community.glideapps.com/u/Nicholas_Sollazzo)\
**Post date:** [April 9, 2023, 3:50pm UTC](https://community.glideapps.com/t/openai-integration-dall-e-generate-an-image-could-not-fetch/60330/11 "2023-04-09T15:50:48Z")

</div>

I have credits

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/e/f/efbdc49e0e1b4ec1d9dc2e7f4cb2b32d09c500b1.png)

---

<div class="post-metadata">

**Author:** ![Nicholas\_Sollazzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nicholas_sollazzo/32/57290_2.png) [@Nicholas\_Sollazzo](https://community.glideapps.com/u/Nicholas_Sollazzo)\
**Post date:** [April 9, 2023, 3:51pm UTC](https://community.glideapps.com/t/openai-integration-dall-e-generate-an-image-could-not-fetch/60330/12 "2023-04-09T15:51:47Z")

</div>

I tried old keys and new keys but the query simply doesn’t go through

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/b/9/b9086eab29a5675c95dd048cbc75b199676de5c5.png)

---

<div class="post-metadata">

**Author:** ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)\
**Post date:** [April 9, 2023, 3:54pm UTC](https://community.glideapps.com/t/openai-integration-dall-e-generate-an-image-could-not-fetch/60330/13 "2023-04-09T15:54:25Z")

</div>

Hmmm… I can’t help you… I do not use Glide integrations, they are not reliable, and it costs updates… I use Google Scripts to fetch DALEE-E… maybe Darren will know what the problem is.

---

<div class="post-metadata">

**Author:** ![Nicholas\_Sollazzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nicholas_sollazzo/32/57290_2.png) [@Nicholas\_Sollazzo](https://community.glideapps.com/u/Nicholas_Sollazzo)\
**Post date:** [April 9, 2023, 3:59pm UTC](https://community.glideapps.com/t/openai-integration-dall-e-generate-an-image-could-not-fetch/60330/14 "2023-04-09T15:59:06Z")

</div>

Originally I used Airtable scripts but they are painfully slow so I wanted to try integrations but this is the results. I now they are in beta and I hope they will fix this since now I know that i’m not doing anything wrong on my side

---

<div class="post-metadata">

**Author:** ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)\
**Post date:** [April 9, 2023, 4:03pm UTC](https://community.glideapps.com/t/openai-integration-dall-e-generate-an-image-could-not-fetch/60330/15 "2023-04-09T16:03:37Z")

</div>

I don’t know about Airtable scripts, but Google Scripts are faster than Glide LOL

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [April 9, 2023, 4:08pm UTC](https://community.glideapps.com/t/openai-integration-dall-e-generate-an-image-could-not-fetch/60330/16 "2023-04-09T16:08:44Z")

</div>

I’m sorry, I don’t have anything else to suggest.  
It might be a bug, but I’m a little skeptical about that because if it was then I’d expect more people to be reporting it. 🤷‍♂️

---

<div class="post-metadata">

**Author:** ![Nicholas\_Sollazzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nicholas_sollazzo/32/57290_2.png) [@Nicholas\_Sollazzo](https://community.glideapps.com/u/Nicholas_Sollazzo)\
**Post date:** [April 9, 2023, 4:12pm UTC](https://community.glideapps.com/t/openai-integration-dall-e-generate-an-image-could-not-fetch/60330/17 "2023-04-09T16:12:17Z")

</div>

Do you use the script to update the Glide Table?

---

<div class="post-metadata">

**Author:** ![Nicholas\_Sollazzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nicholas_sollazzo/32/57290_2.png) [@Nicholas\_Sollazzo](https://community.glideapps.com/u/Nicholas_Sollazzo)\
**Post date:** [April 9, 2023, 4:13pm UTC](https://community.glideapps.com/t/openai-integration-dall-e-generate-an-image-could-not-fetch/60330/18 "2023-04-09T16:13:40Z")

</div>

What could it be then?

---

<div class="post-metadata">

**Author:** ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)\
**Post date:** [April 9, 2023, 4:15pm UTC](https://community.glideapps.com/t/openai-integration-dall-e-generate-an-image-could-not-fetch/60330/19 "2023-04-09T16:15:46Z")

</div>

Yes, that is what I’m using on the page you clicked on.

---

<div class="post-metadata">

**Author:** ![david](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/david/32/62831_2.png) [@david](https://community.glideapps.com/u/david)\
**Post date:** [April 9, 2023, 6:59pm UTC](https://community.glideapps.com/t/openai-integration-dall-e-generate-an-image-could-not-fetch/60330/20 "2023-04-09T18:59:13Z")

</div>

1. Make sure you have a credit card on file with OpenAI. They tend to fail the API if you don’t.
2. What’s an example of your prompt?

[Next page](https://community.glideapps.com/t/openai-integration-dall-e-generate-an-image-could-not-fetch/60330.md?page=2)
