# Redis: (error) ERR unknown command 'JSON.GET', with args beginning with: / unknown command 'FT.SEARCH'

**Code:** `ERR unknown command` · **Category:** Redis · **Seen on:** Redis, Node.js

The server doesn't know the command — wrong name, newer Redis version, or a missing module.

## Meaning

Check the spelling and version (`INFO server`). Module commands (`JSON.*`, `FT.*`, `TS.*`, `BF.*`) need Redis Stack or the module loaded (`MODULE LIST`). Managed Redis (ElastiCache, Azure) often disables some commands (`CONFIG`, `KEYS`, `FLUSHALL`) or renames them (`rename-command`).

## Common causes

- Module not installed/loaded (RediSearch, RedisJSON)
- Command from a newer Redis version
- Command disabled/renamed by the provider or config
- Typo
- Using Valkey/other fork differences

## Quick fix

1. `MODULE LIST` and install Redis Stack or load the module
2. Check `INFO server` redis_version vs command docs
3. Use allowed alternatives on managed services (e.g. `SCAN` instead of `KEYS`)

## Detailed fix by platform

### Linux

1. `redis-cli MODULE LIST; redis-cli INFO server | grep redis_version`

## How to diagnose

1. **Module** — Loaded?
2. **Version** — New enough?
3. **Provider** — Command disabled?

---
Source: [WhatIsMyError](https://whatismyerror.com/errors/redis/err-unknown-command)
