Skip to content

429 RESOURCE_EXHAUSTED error when using ChatDouble (Gemini API quota exceeded) #1

@Pro-Prompter

Description

@Pro-Prompter

While logged in as and attempting to use ChatDouble personal chatbots, the system repeatedly goes offline with the following error:

⚠️ Offline (Try after some time): 429 RESOURCE_EXHAUSTED
{'error': {'code': 429, 'message': 'You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit.

  • Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 0, model: gemini-2.0-flash
  • Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_input_token_count, limit: 0, model: gemini-2.0-flash
    Please retry in ~59s.', 'status': 'RESOURCE_EXHAUSTED'}
    }

This error occurs consistently when trying to interact with bots (e.g., "John") inside the ChatDouble interface.

Steps to Reproduce

  1. Log in with your account
  2. Navigate to ChatDouble → Your Bots.
  3. Select a bot (e.g., John).
  4. Attempt to send a message.
  5. Observe repeated 429 RESOURCE_EXHAUSTED errors.

Expected Behavior
Bots should respond normally without hitting quota limits, or the system should provide clearer guidance on usage limits and available upgrade options.

Actual Behavior

  • Chat goes offline with 429 RESOURCE_EXHAUSTED.
  • Retry delays are shown (e.g., 59s, 38s).
  • No clear way to resolve without manually checking quota/billing.

Possible Cause
The free-tier quota for generate_content requests and input tokens has been exceeded. The system does not gracefully handle quota exhaustion, leading to repeated offline states.

Suggested Fix

  • Implement better quota monitoring and warnings inside the UI.
  • Provide proactive guidance (e.g., "Upgrade plan to continue using bots").
  • Allow fallback or queueing instead of an immediate offline state.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions