🎨

DALL-E Image Generation Failed

DALL-E generation usually fails in 2026 because OpenAI removed the dall-e-2 and dall-e-3 models from its API on May 12, 2026. Switch API calls to gpt-image-2, gpt-image-1 or gpt-image-1-mini. Other common causes are a moderation block on the prompt or output, rate or usage limits, and missing organization verification.

Recommended toolMagicaOne AI workspace with many leading models in one place.Try Magica

Affiliate link, we may earn a commission at no extra cost to you.

Symptoms You Might See

⚠️

Model not found or model deprecated error from the API, a script, plugin or older app

⚠️

API error with code moderation_blocked (type image_generation_user_error)

⚠️

ChatGPT says the request violates the content policy

⚠️

HTTP 429 or a limit-reached message

⚠️

API error asking you to verify your organization

⚠️

Image generation in ChatGPT fails or spins with no image

Common Causes

The DALL-E API models were removed

OpenAI notified developers on November 14, 2025 that the DALL-E model snapshots would be removed from the API. Both dall-e-2 and dall-e-3 reached their shutdown date on May 12, 2026. Any script, no-code automation, WordPress plugin or browser extension that still sends "model": "dall-e-3" gets an error rather than an image.

Moderation block on the prompt or the output

OpenAI filters all image prompts and generated images. A block returns code moderation_blocked. The moderation_details.moderation_stage field says input (the prompt or images you sent) or output (the generated image).

Rate limits, quota or plan image limits

A 429 means too many requests too quickly or no quota left. In ChatGPT, image generation has usage limits that vary by plan and demand.

Missing API Organization Verification

OpenAI's image generation guide says you may need to complete API Organization Verification before you can use GPT Image models.

Temporary service, browser or prompt problems in ChatGPT

Degraded image generation on status.openai.com, page extensions or network issues, or a very long and contradictory prompt can all make ChatGPT fail to return an image.

Step-by-Step Fixes

1

Migrate from DALL-E to a GPT Image model

When to try: Model not found or deprecated errors from the API or any tool that uses it

Search your code or automation settings for dall-e-2 and dall-e-3. Replace the value with gpt-image-1-mini (budget), gpt-image-1 or gpt-image-2. Review size and quality values, since GPT Image models let you set quality, size, output format and compression. Check how you read the response: if your code expected a hosted image URL, confirm the format the new model returns and update the code that saves or displays the image. Run a test with a simple prompt such as "a red apple on a white table, studio lighting" before switching production traffic. If a third-party tool has not been updated since May 2026, check for an update or a model setting; otherwise it will keep failing.

2

Rewrite a moderation_blocked prompt (do not auto-retry)

When to try: Error code moderation_blocked or a content policy message

Do not retry moderation_blocked automatically without changing the prompt or input images, because the same request is blocked again. Check moderation_stage: input means rewrite the prompt or replace the image; output means aim the prompt at a different result. Remove real people's names and describe a fictional person instead. Replace trademarked characters or logos with original descriptions. Tone down violent, medical or adult detail. Split a complex prompt into a simpler first image, then edit it in a follow-up. The moderation parameter adjusts strictness within policy; it does not allow content the policy forbids.

3

Fix ChatGPT image failures

When to try: Image generation fails inside ChatGPT

If you hit an image limit, wait for the reset time shown in the message. If the prompt was filtered, rephrase it. Check status.openai.com for degraded image generation. Refresh the page, start a new chat, disable extensions that alter pages, or try the mobile app. Shorten very long prompts to subject, setting, style and lighting, then add detail in a follow-up.

4

Handle HTTP 429 and limit errors

When to try: HTTP 429 or limit-reached errors on image requests

Check usage and billing in the OpenAI developer dashboard and add credits or raise your spend limit if needed. Add exponential backoff with jitter and retry only on 429 and 5xx responses, never on moderation_blocked. Lower concurrency by queueing image jobs. Cache results so you do not regenerate the same image.

5

Complete API Organization Verification

When to try: Requests fail with a verification message after switching away from DALL-E

Open the organization settings in the OpenAI developer console and complete verification. It can take some time to take effect, so wait before retrying. Apps that serve individual end users should also send a stable, privacy-preserving safety_identifier with each image request.

How to Prevent This

✓

Keep model names in one config value so a future deprecation is a one-line change

✓

Never auto-retry moderation_blocked; log moderation_stage and categories instead

✓

Use exponential backoff with jitter for 429 and 5xx only

✓

Test new models with a simple, safe prompt before moving production traffic

✓

Watch OpenAI's deprecations page for shutdown dates

When to Contact Support

Contact OpenAI support at help.openai.com if verification does not take effect after waiting, if billing shows credits but requests still fail with billing errors, or if a prompt you believe is clearly harmless is blocked repeatedly after rewriting.

Frequently Asked Questions

Can I still use DALL-E 3 in the OpenAI API?▼

No. OpenAI's deprecations page lists May 12, 2026 as the shutdown date for both dall-e-2 and dall-e-3 in the API. Use gpt-image-2, gpt-image-1 or gpt-image-1-mini instead.

Why does my old DALL-E script suddenly fail?▼

It still requests a DALL-E model that was removed from the API on May 12, 2026. Change the model name to a GPT Image model, check the response format, and complete organization verification if asked.

Should I retry a moderation_blocked error?▼

Not without changes. OpenAI says not to retry these errors automatically without modifying the prompt or input images. Check the moderation_stage field, then rewrite the prompt or replace the image.

Why does ChatGPT say I reached the image limit?▼

Image generation in ChatGPT has usage limits that depend on your plan and current demand. The message shows when you can try again. Upgrading or waiting for the reset are the only fixes.

Does the moderation parameter turn off the content filter?▼

No. It adjusts how strict filtering is for GPT Image models, but all prompts and images are still checked against OpenAI's content policy.

Sources and verification

Product behavior and limits can change. These primary sources were used to verify this guide.

Other Common AI Errors

⚠️

ChatGPT Not Working

Service Issues

🚦

Rate Limit Exceeded

Usage Limits

📏

Context Length Exceeded

Input Limits

🔥

Model Overloaded

Service Issues

Don't stop here

What to read next

Hand-picked guides our readers explore right after this one.