# X_METER_INVALID

## Means

an action's meter cannot be counted against

## Typical cause

a meter: block declares a bad name, period or warnAt, warnAt without onWarn, or its limit resolved to something other than a whole number of 0 or more

## Fix

`meter: { name: 'calls', period: 'day', limit: ({ ctx }) => 500, warnAt: 0.8, onWarn: quotaWarning }` — edit the action the cause names

[Actions](/error-codes#actions)
