Skip to main content

Rate limit issues (GPT for Sheets – Autosheet)

Service invoked too many times​

Problem: Google reports that a service quota has been exceeded. Check the service named in the full error message. If it refers to daily URL Fetch calls, the documented quotas are:

  • Consumer accounts, such as gmail.com: 20,000 calls per day

  • Google Workspace accounts: 100,000 calls per day

These quotas apply per user across scripts and add-ons. Google can change them, and trial accounts can have additional restrictions. A short-term rate-limit error or a quota for a different service needs different troubleshooting.

Solution
  • For a daily quota, wait for it to reset. Google documents the reset as 24 hours after the first request, rather than at a fixed midnight boundary.

  • For a Google Sheets custom-function URL Fetch quota, try bulk tools, which do not run as custom functions. Other limits can still apply.

  • GPT for Excel – Autosheet functions do not use Google Apps Script quotas. Other limits can still apply.

Token limit is reached​

Problem: Your AI provider reports that you have reached a token limit, such as tokens per minute or per day.

Solutions
  • Wait until the token limit resets. The reset time depends on the quota you reached; check the provider's error message or usage dashboard. A different model may have a separate quota.

  • Alternatively, use built-in models, which do not require your own API key. Other limits can still apply.

Request limit is reached​

Problem: Your AI provider reports that you have reached a request limit, such as requests per minute or per day.

Solutions
  • Wait until the request limit resets. The reset time depends on the quota you reached; check the provider's error message or usage dashboard. A different model may have a separate quota.

  • Alternatively, use built-in models, which do not require your own API key. Other limits can still apply.