ERROR exceptions 27 [<cart.views.AddCartView object at 0x000001967588F3C8>] Command # 1 (HSET cart_1 1 0) of pipeline caused error: WRONGTYPE Operation against a key holding the wrong kind of value
ERROR log 228 Insufficient Storage: /cart/add_cart/
ERROR basehttp 154 “POST /cart/add_cart/ HTTP/1.1” 507 35
![](https://img-blog.csdnimg.cn/20201117180846872.png?type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzQ1OTU3NTgw,size_16,color_FFFFFF,t_70#pic_center)
解决办法
:
![](https://img-blog.csdnimg.cn/20201117181141321.png?type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzQ1OTU3NTgw,size_16,color_FFFFFF,t_70#pic_center)
是Redis数据库的问题,清空数据库后恢复正常