title: WRONGTYPE Operation against a key holding the wrong kind of value Laravel
body: <p>Hi I am using Laravel with Redis .When I am trying to access a key by get method then get following error "WRONGTYPE Operation against a key holding the wrong kind of value"</p>
  
  <p>I am using following code to access the key value -</p>
  
  <pre><code>Route::get('/', function () {
  
      //$redis = app()-&gt;make("redis");
      $redis = Redis::connection();
  
      return $redis-&gt;get("doctor:8a772886-e7b2-442a-a0d5-621307510c6a");
  
  });
  </code></pre>