midjourney-api icon indicating copy to clipboard operation
midjourney-api copied to clipboard

Error: ImagineApi failed with status 429

Open morganfuchs opened this issue 1 year ago • 3 comments

the code that reproduces this issue or a replay of the bug

Describe the bug

For the past 2 days, I've been getting random 429 errors. That's twice now that I've used several accounts to generate 1000-2000 images per day without any problem.

I've added a proxy, added the apiInterval=10000 property, changed the serverID, refresh the salaiToken, tried on several accounts and I still get the error at some point.

What criteria can generate this error? Has anyone ever had these errors?

error log

["Error: ImagineApi failed with status 429\n at Midjourney.Imagine (/app/node_modules/midjourney/libs/midjourney.js:69:19)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async MidjourneyApiService.imagine (/app/dist/apps/f_midjourney/main.js:154:16)\n at async Worker.processor [as processFn] (/app/dist/apps/f_midjourney/main.js:12932:48)\n at async Worker.processJob (/app/node_modules/bullmq/dist/cjs/classes/worker.js:346:28)\n at async Worker.retryIfFailed (/app/node_modules/bullmq/dist/cjs/classes/worker.js:531:24)"]

morganfuchs avatar Sep 26 '23 20:09 morganfuchs

+1
and a bit hard to reproduce this issue. But I can see quite a few this errors from logs.

jimmy0324 avatar Apr 01 '24 10:04 jimmy0324

i know it's been a while back but were you able to solve this?

jaoh1234 avatar Jul 11 '24 10:07 jaoh1234

This happens when you make multiple requests using your exceeded quota of concurrent calls I guess

ideepankarsharma2003 avatar Jul 16 '24 10:07 ideepankarsharma2003