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

RELKIT_RATE_LIMIT_INVALID

Rate limit settings are invalid.

Rate limit settings are invalid.

What happened

A route’s rateLimit needs a positive limit, a positive windowMs and a supported key, and one of these is missing or wrong.

What to do

Set limit and windowMs to positive numbers and use a supported key.kind.

Reported by @relkit/cli, relkit/diagnostics.

See all error codes.