Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

beerbuddha's avatar

How to get redis key values with colon

I'm using redis as my queue for local testing for now.

When I dispatch jobs I get this entry in the queue: 6) "queues:proxy" 8) "queues:default"

However, I can't seem to get the value out of that key:

192.168.0.15:6379> get "queues:proxy"
(error) ERR Operation against a key holding the wrong kind of value
192.168.0.15:6379> get queues:proxy
(error) ERR Operation against a key holding the wrong kind of value
192.168.0.15:6379> hget queues:proxy
(error) ERR wrong number of arguments for 'hget' command
192.168.0.15:6379> hget "queues:proxy"
(error) ERR wrong number of arguments for 'hget' command
192.168.0.15:6379>

Anyone know how? thanks

0 likes
0 replies

Please or to participate in this conversation.