# Help Needed: "Generate Image" (OpenAI DALL-E) Action Fails with Dynamic Prompt, Works with Static Text

**URL:** <https://community.glideapps.com/t/help-needed-generate-image-openai-dall-e-action-fails-with-dynamic-prompt-works-with-static-text/82187>\
**Category:** Ask for Help\
**Tags:** glide-escalated\
**Created:** [June 2, 2025, 1:58am UTC](https://community.glideapps.com/t/help-needed-generate-image-openai-dall-e-action-fails-with-dynamic-prompt-works-with-static-text/82187 "2025-06-02T01:58:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sanjaykumar\_kushwaha](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/sanjaykumar_kushwaha/32/88706_2.png) [@Sanjaykumar\_kushwaha](https://community.glideapps.com/u/Sanjaykumar_kushwaha)\
**Post date:** [June 2, 2025, 1:58am UTC](https://community.glideapps.com/t/help-needed-generate-image-openai-dall-e-action-fails-with-dynamic-prompt-works-with-static-text/82187/1 "2025-06-02T01:58:38Z")

</div>

Hello,

I need help with the OpenAI “Generate image” action.

**Setup:**

1. User submits a form, a new row is added to `AI Recipe Requests`.
2. AI columns in this table generate a recipe name, and then a `Descriptive Image Prompt` (e.g., “Chicken Salad Sandwich, food photography”).
3. A Workflow triggers “On new row”:

- Waits 10 seconds.
- Action: `Generate image` using the `Descriptive Image Prompt` column for the **Prompt** , saving to an `AI Generated Photo` (Image type) column.

**Problem:** The `Generate image` action fails with **“Could not fetch”** when using the `Descriptive Image Prompt` column.

**However:**

- If I type a static text prompt (e.g., “Apple”) directly into the “Generate image” action’s Prompt field, **it works perfectly** and generates an image.
- My OpenAI API key and billing are confirmed to be working fine.
- The `Descriptive Image Prompt` column _does_ have the correct text in it when the action runs.

**Question:** Why does the “Generate image” action fail when using a column value for the prompt, but succeed with the exact same text if typed in manually as a static prompt? How can I get the dynamic column prompt to work?

(I can provide a read-only link and screenshots showing the data table with the prompt text, and the workflow setup.)

 ![1](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/2/92f818bba311e6c8eda9e93355ccbf637a765682.jpeg)  
 ![2](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/6/9629936b1829634c6a4879af45de3821f429d7a5.jpeg)  
 ![3](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/3/53bd62a77098bf406627442212928d848b005078.jpeg)  
 ![4](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/4/9/492829d85e60e7279bcb7a4c5991992017454502.jpeg)  
 ![5](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/4/c/4cfc326700febcbaf2d73c7f75f06319905ac33d.jpeg)

Thank you for your help

---

<div class="post-metadata">

**Author:** ![Sanjaykumar\_kushwaha](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/sanjaykumar_kushwaha/32/88706_2.png) [@Sanjaykumar\_kushwaha](https://community.glideapps.com/u/Sanjaykumar_kushwaha)\
**Post date:** [June 2, 2025, 2:01am UTC](https://community.glideapps.com/t/help-needed-generate-image-openai-dall-e-action-fails-with-dynamic-prompt-works-with-static-text/82187/2 "2025-06-02T02:01:34Z")

</div>

Thank You for your help sir. I am encountering another problem, [lease help me with this.

Problem: \*\* “Generate Image” Action Fails with Column Prompt, Works with Static Text

**Setup:**

1. User submits a form, a new row is added to `AI Recipe Requests`.
2. AI columns in this table generate a recipe name, and then a `Descriptive Image Prompt` (e.g., “Chicken Salad Sandwich, food photography”).
3. A Workflow triggers “On new row”:

- Waits 10 seconds.
- Action: `Generate image` using the `Descriptive Image Prompt` column for the **Prompt** , saving to an `AI Generated Photo` (Image type) column.

**Problem:** The `Generate image` action fails with **“Could not fetch”** when using the `Descriptive Image Prompt` column.

 ![1](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/2/92f818bba311e6c8eda9e93355ccbf637a765682.jpeg)  
 ![2](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/6/9629936b1829634c6a4879af45de3821f429d7a5.jpeg)  
 ![3](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/3/53bd62a77098bf406627442212928d848b005078.jpeg)  
 ![4](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/4/9/492829d85e60e7279bcb7a4c5991992017454502.jpeg)  
 ![5](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/4/c/4cfc326700febcbaf2d73c7f75f06319905ac33d.jpeg)

**However:**

- If I type a static text prompt (e.g., “Apple”) directly into the “Generate image” action’s Prompt field, **it works perfectly** and generates an image.
- My OpenAI API key and billing are confirmed to be working fine.
- The `Descriptive Image Prompt` column _does_ have the correct text in it when the action runs.

**Question:** Why does the “Generate image” action fail when using a column value for the prompt, but succeed with the exact same text if typed in manually as a static prompt? How can I get the dynamic column prompt to work?

(I can provide a read-only link and screenshots showing the data table with the prompt text, and the workflow setup).

Thank you!

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [June 2, 2025, 9:36am UTC](https://community.glideapps.com/t/help-needed-generate-image-openai-dall-e-action-fails-with-dynamic-prompt-works-with-static-text/82187/3 "2025-06-02T09:36:36Z")

</div>

Can you adjust to wait for condition, set max to around 30 seconds, and the condition to “Descriptive Image Prompt” is not empty?

---

<div class="post-metadata">

**Author:** ![Sanjaykumar\_kushwaha](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/sanjaykumar_kushwaha/32/88706_2.png) [@Sanjaykumar\_kushwaha](https://community.glideapps.com/u/Sanjaykumar_kushwaha)\
**Post date:** [June 2, 2025, 5:03pm UTC](https://community.glideapps.com/t/help-needed-generate-image-openai-dall-e-action-fails-with-dynamic-prompt-works-with-static-text/82187/4 "2025-06-02T17:03:28Z")

</div>

i tried everything but it is not working. I tried waiting upto 1 minutes but also it didnt generated image.  
When i choose prompt any cloumn with type Generate text or Template (like in 1st image) , image is not generated.  
But when i choose any other column with type Basic Text (like in 2nd image) or when i enter custom prompt (type anything manually like apple, banana milkshake), it is generating image.

 ![1](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/4/d/4d4171395a621621a4cc2c2d38b0860ae29f4eb0.jpeg)  
 ![2](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/3/8/38de0d45af42f1b0f835e6f312c23515f7ae2e4f.jpeg)

---

<div class="post-metadata">

**Author:** ![glide](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/glide/32/53398_2.png) [@glide](https://community.glideapps.com/u/glide)\
**Post date:** [June 3, 2025, 12:35am UTC](https://community.glideapps.com/t/help-needed-generate-image-openai-dall-e-action-fails-with-dynamic-prompt-works-with-static-text/82187/6 "2025-06-03T00:35:52Z")

</div>

This thread has been escalated. Support will follow up via the Messenger in the Builder or through email.

[Best practices when escalating issues to support](https://help.glideapps.com/en/articles/9324487-best-practices-when-asking-for-support)
