[GH-ISSUE #2345] Inference Jo Fail Error: 429 status code (no body) #1421

Closed
opened 2026-03-02 11:57:11 +03:00 by kerem · 1 comment
Owner

Originally created by @GustavoCaso on GitHub (Jan 4, 2026).
Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/2345

Describe the Bug

I'm running the latest version of Karakeep, and have AI tagging enabled via env variables:

OPENAI_BASE_URL=https://generativelanguage.googleapis.com/v1beta
OPENAI_API_KEY=xxxxxxxxxxxxxxxxxx
INFERENCE_TEXT_MODEL=gemini-2.0-flash
INFERENCE_IMAGE_MODEL=gemini-2.0-flash

When adding post to my instance automatic tagging no longer works and when re-running the failed tagging jobs I get this error log:

karakeep-1  | 2026-01-04T11:02:52.304Z error: [inference][131] inference job failed: Error: 429 status code (no body)
karakeep-1  | Error: 429 status code (no body)
karakeep-1  |     at APIError.generate (file:///app/apps/workers/dist/index.js:95530:30)
karakeep-1  |     at OpenAI.makeStatusError (file:///app/apps/workers/dist/index.js:96279:19)
karakeep-1  |     at OpenAI.makeRequest (file:///app/apps/workers/dist/index.js:96316:23)
karakeep-1  |     at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
karakeep-1  |     at async OpenAIInferenceClient.inferFromText (file:///app/apps/workers/dist/index.js:103454:26)
karakeep-1  |     at async inferTagsFromText (file:///app/apps/workers/dist/index.js:115349:9)
karakeep-1  |     at async inferTags (file:///app/apps/workers/dist/index.js:115356:49)
karakeep-1  |     at async runTagging (file:///app/apps/workers/dist/index.js:115455:15)
karakeep-1  |     at async runOpenAI (file:///app/apps/workers/dist/index.js:115526:4)
karakeep-1  |     at async file:///app/apps/workers/dist/email-B7NScFV1.js:28222:19

Any idea why that could be?

Thanks in advance

Steps to Reproduce

  1. Go to Admin Setting
  2. Run failed tagging AI jobs
  3. Check logs using docker compose logs karakeep -f

Expected Behaviour

AI tagging feature is able to extract and create tags for posts

Screenshots or Additional Context

No response

Device Details

No response

Exact Karakeep Version

release

Have you checked the troubleshooting guide?

  • I have checked the troubleshooting guide and I haven't found a solution to my problem
Originally created by @GustavoCaso on GitHub (Jan 4, 2026). Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/2345 ### Describe the Bug I'm running the latest version of Karakeep, and have AI tagging enabled via env variables: ``` OPENAI_BASE_URL=https://generativelanguage.googleapis.com/v1beta OPENAI_API_KEY=xxxxxxxxxxxxxxxxxx INFERENCE_TEXT_MODEL=gemini-2.0-flash INFERENCE_IMAGE_MODEL=gemini-2.0-flash ```` When adding post to my instance automatic tagging no longer works and when re-running the failed tagging jobs I get this error log: ``` karakeep-1 | 2026-01-04T11:02:52.304Z error: [inference][131] inference job failed: Error: 429 status code (no body) karakeep-1 | Error: 429 status code (no body) karakeep-1 | at APIError.generate (file:///app/apps/workers/dist/index.js:95530:30) karakeep-1 | at OpenAI.makeStatusError (file:///app/apps/workers/dist/index.js:96279:19) karakeep-1 | at OpenAI.makeRequest (file:///app/apps/workers/dist/index.js:96316:23) karakeep-1 | at process.processTicksAndRejections (node:internal/process/task_queues:103:5) karakeep-1 | at async OpenAIInferenceClient.inferFromText (file:///app/apps/workers/dist/index.js:103454:26) karakeep-1 | at async inferTagsFromText (file:///app/apps/workers/dist/index.js:115349:9) karakeep-1 | at async inferTags (file:///app/apps/workers/dist/index.js:115356:49) karakeep-1 | at async runTagging (file:///app/apps/workers/dist/index.js:115455:15) karakeep-1 | at async runOpenAI (file:///app/apps/workers/dist/index.js:115526:4) karakeep-1 | at async file:///app/apps/workers/dist/email-B7NScFV1.js:28222:19 ``` Any idea why that could be? Thanks in advance ### Steps to Reproduce 1. Go to Admin Setting 2. Run failed tagging AI jobs 3. Check logs using `docker compose logs karakeep -f` ### Expected Behaviour AI tagging feature is able to extract and create tags for posts ### Screenshots or Additional Context _No response_ ### Device Details _No response_ ### Exact Karakeep Version release ### Have you checked the troubleshooting guide? - [x] I have checked the troubleshooting guide and I haven't found a solution to my problem
kerem 2026-03-02 11:57:11 +03:00
Author
Owner

@MohamedBassem commented on GitHub (Jan 4, 2026):

429 status code

status code 429 means "Too many requests" which means you're getting throttled by google. Maybe that's there way of telling you you're out of quota or something.

<!-- gh-comment-id:3708351532 --> @MohamedBassem commented on GitHub (Jan 4, 2026): > 429 status code status code 429 means "Too many requests" which means you're getting throttled by google. Maybe that's there way of telling you you're out of quota or something.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/karakeep#1421
No description provided.