---
title: RELKIT_RATE_LIMIT_STORE_REQUIRED
description: "Rate limit needs a shared store."
pagination: false
search:
  keywords: [RELKIT_RATE_LIMIT_STORE_REQUIRED]
sidebar:
  icon: triangle-alert
---

{/* Generated by apps/docs/scripts/generate.ts. Do not edit. */}

**Rate limit needs a shared store.**

## What happened

A route has a rate limit with no `store`. Production builds need a shared cache so limits work across instances.

## What to do

Set `rateLimit.store` to a shared cache defined with `defineCache`.

Reported by `@relkit/cli`, `relkit/diagnostics`.

See [all error codes](/docs/errors).
