Dalle 3 Image Generation - Error 429 The service is receiving too many requests from you

I’m having issues trying to get ChatGPT to Generate an Image for me.

Describe the problem/error/question

I’m trying to generate an Image using Dalle3 as part of a workflow, but I seem to run into an error. It works when i use Dalle2, just not when I swap it to Dalle3.

What is the error message (if any)?

The error I’m getting from N8N is: The service is receiving too many requests from you Error in request. Please check your input.

The error details are:
Error code 429

Full message

{ "error": { "message": "Error in request. Please check your input.", "type": "invalid_request_error", "param": null, "code": null } }

Please share your workflow

It’s a pretty big workflow, so I’ll just copy the snippet

Let me know if I need to share more information.

Thanks!

Hi,

Did you check the requests per timeframe you can send to each one?

I think the error message is quite obvious.

Usually the older / less complex models are cheaper and/or offer more requests for free. (Or maybe the one that you are trying doesn’t have a free tier and is payable)

Reg
J.

Hi @jcuypers

So is it because I have an earlier request to GPT-4o model?

Do you have any solution to work around this?

Hi, I don’t know the exact reason. But 429 is too many request to the API. I guess you could find out from the executions data / view on which node it stops and most likely that node call would be responsible.

I think the easiest after that is to go into the openai API control panel and look into your usage. It’s quite granular per model etc

Surely you would find the issue there

Reg
J

Hi @jcuypers

What i currently see from usage is:

Hi, this doesn’t say much really. The most important ones are the request per minute imho. Don’t remember how it shows exactly but I think there is a threshold line somewhere.

I don’t know the exact limits since they are based on several factors. But here’s a public statement of something similar

You can find and set / monitor limits in your account. There should be a limits section on your account where you can see your actual limits per your defined project.

https://platform.openai.com/docs/guides/rate-limits

https://platform.openai.com/settings/organization/limits

Btw I checked mine and I’m at only 5 dalle-3 IMG per min max so if you are on the same you need to add wait nodes into your workflow when automated or space your tests

Reg
J

hi @jcuypers

I have reviewed my OpenAI account.

It doesn’t look like I’ve set any rate limits, the only things there, are what was default.

Do you think I should raise the limits?

I also looked at budget limits, which I set for about 100/month, I don’t think this would stop it.

As for the default limit, I haven’t had a single successful image generated for dalle-3 (confirmed as it doesn’t show up on the openAI usage dashboard).

Could it be something else?

Thanks~!

Hi,

I don’t think theres much you can do anyways.raising the default limit is all about previous spent (changing tiers)

Regarding not being able to generate images via dalle-3

Just try with the simplest workflow
Manual trigger, 1 node generate image, fixed text string of a description. And see what happens

If it doesn’t work you could also try through postman

Reg
J

Hi @jcuypers ,

I’ve started a new workflow, with a manual trigger and same AI node, with a simple prompt (generate a piechart).

Same error results

1 Like

Hi,

Well I did mention a simple example

Like " dog playing with a ball"

Reg
J.

Hi @jcuypers

I have tried your suggestion and come into the same issue

Hi, the only thing I can think of is try with an external tool and validate whether it’s the same error… Or another test to use the http request or an external tool to get back the info on what openai thinks you have still left. It’s not an issue of N8n according to me

Maybe creating another project with an additional API key might kick some sense into openAI

No idea

Reg
J.