Skip to content
Luna
Esc
↑↓navigate↵open⌘Jpreview
On this page

QuotaExceeded

The organisation or tenant reached a quota or its spending cap, so new work stops until a limit changes.

QuotaExceeded means your organisation or one of its tenants reached a quota, and new work stops until that changes. The status is 429, or 507 when storage is full.

Issue

Calls fail with QuotaExceeded, and the message names the quota. Retrying a moment later fails the same way.

Cause

Message Status Cause
this organisation's spending cap of $<CAP> for the month has been reached 429 The month cost as much as the cap you set
<WHO> has more than <N> active lunas 429 Too many lunas are awake at once
<WHO>'s lunas and sandboxes are using <N> cores together, more than its <LIMIT> 429 The CPU in use passed its total
<WHO>'s lunas and sandboxes are using <N> MB of memory together, more than its <LIMIT> 429 The memory in use passed its total
<WHO> has used its <N> bytes of egress for the month 429 Data sent out passed the month’s allowance
<WHO> has used its <N> bytes of ingress for the month 429 Data received passed the month’s allowance
the tenant is over its request quota 429 A request rate shared across the organisation was passed
the tenant is over its storage quota 507 Stored data passed its quota

When storage is full, only writes stop. Query handlers still answer, so your app can still read.

QuotaExceeded differs from Overloaded, which passes once a burst does. It also differs from PaymentRequired, which is about credit and payment rather than a limit.

Solution

Do not retry in a loop. Calls fail until usage drops below the quota, the month ends or the quota is raised.

  • Run luna billing to see the plan’s limits and what the month has used.
  • Raise or remove your own spending cap with luna billing --hard-cap-usd <AMOUNT> or --no-cap.
  • For a tenant you added, raise its quotas with configure, as Manage tenants from code shows.
  • Free storage by deleting rows and files your lunas no longer need.

Limits lists each quota of your plan.

Was this page helpful?