Skip to content

redis.exceptions.ResponseError: unknown command 'module' #73

Closed
@therealbazzi

Description

@therealbazzi

Hi,

So basically trying to reproduce what @simonprickett did here except that i'm doing it on Redis cloud instead of locally or using a venv or docker or whatever.

So i've managed to successfully write to the redis db cloud after properly configuring REDIS_OM_URL to point at the proper endpoint x credentials, now when I perform a rediSearch query ex:
Adoptable.find(Adoptable.name == "Poppy").all()
I get the error
redis.exceptions.ResponseError: unknown command 'module'
Another way of reproducing the above is as follows:

from redis import ResponseError
try:
    Adoptable.find(Adoptable.name == "Poppy").all()
except ResponseError as e:
    print(e)

I've googled the above type of error but all i see is the same type of error but the word 'module' being swapped by different terms (ex: like JSON.GET whose solution was to include redisJSON)
Any help is appreciated, thank you.

PS: yes i have created my database by properly including modules rediSearch and redisJSON.

ahmad

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions