# Redis unknown command 'scan'

**URL:** <https://community.fly.io/t/redis-unknown-command-scan/179>\
**Category:** General\
**Created:** [September 2, 2020, 8:41pm UTC](https://community.fly.io/t/redis-unknown-command-scan/179 "2020-09-02T20:41:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pier](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/pier/32/74_2.png) [@pier](https://community.fly.io/u/pier)\
**Post date:** [September 2, 2020, 8:41pm UTC](https://community.fly.io/t/redis-unknown-command-scan/179/1 "2020-09-02T20:41:42Z")

</div>

I’m getting this error when trying to use the `SCAN` command on Fly.

Is this command disabled by any chance?

---

<div class="post-metadata">

**Author:** ![michael](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/michael/32/16_2.png) [@michael](https://community.fly.io/u/michael)\
**Post date:** [September 2, 2020, 11:44pm UTC](https://community.fly.io/t/redis-unknown-command-scan/179/2 "2020-09-02T23:44:36Z")

</div>

It’s disabled but I think it’ll be okay to enable. I’ll get that out later today or tomorrow and follow up with you @pier.

---

<div class="post-metadata">

**Author:** ![pier](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/pier/32/74_2.png) [@pier](https://community.fly.io/u/pier)\
**Post date:** [September 2, 2020, 11:56pm UTC](https://community.fly.io/t/redis-unknown-command-scan/179/3 "2020-09-02T23:56:46Z")

</div>

Thanks @michael

I’ve already changed my code to use hashes instead so I don’t have to use `SCAN`.

Are there other disabled commands?

---

<div class="post-metadata">

**Author:** ![michael](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/michael/32/16_2.png) [@michael](https://community.fly.io/u/michael)\
**Post date:** [September 3, 2020, 12:07am UTC](https://community.fly.io/t/redis-unknown-command-scan/179/4 "2020-09-03T00:07:56Z")

</div>

@pier`SCAN` and `KEYS` work now if you choose to refactor again 😉

We don’t allow commands for scripting, replication, admin, or pubsub. I also don’t think we added the newish streams commands yet.
