title: Fatal error: Uncaught exception 'Exception' with message 'Incorrect response id: (request id: 1)'
body: <p>I am using limesurvay <strong>github.com/trougakoss/LimeSurvey</strong> with <strong>github.com/weberhofer/jsonrpcphp</strong> and code for testing is</p>
  
  <pre><code>require_once 'C:/wamp/www/limesurvey/jsonrpcphp/src/org/jsonrpcphp/jsonRPCClient.php';
  define( 'LS_BASEURL', 'http://10.10.10.29:823/limesurvey/index.php?r=admin/remotecontrol');  // adjust this one to your actual LimeSurvey URL
  define( 'LS_USER', 'admin' );
  define( 'LS_PASSWORD', 'admin' );
  
  // the survey to process
  $survey_id=989315;
  
  // instanciate a new client
  $myJSONRPCClient = new \org\jsonrpcphp\JsonRPCClient( LS_BASEURL);
  
  //echo $myJSONRPCClient-&gt;getinfo();
  // receive session key
  $sessionKey= $myJSONRPCClient-&gt;get_session_key( LS_USER, LS_PASSWORD );
  
  // receive all ids and info of groups belonging to a given survey
  $groups = $myJSONRPCClient-&gt;list_groups( $sessionKey, $survey_id );
  print_r($groups, null );
  
  // release the session key
  $myJSONRPCClient-&gt;release_session_key( $sessionKey );
  </code></pre>
  
  <p>and geting these errors: output result</p>
  
  <pre><code>( ! ) Fatal error: Uncaught exception 'Exception' with message 'Incorrect response id: (request id: 1)' in C:\wamp\www\limesurvey\jsonrpcphp\src\org\jsonrpcphp\JsonRPCClient.php on line 185
  
  ( ! ) Exception: Incorrect response id: (request id: 1) in C:\wamp\www\limesurvey\jsonrpcphp\src\org\jsonrpcphp\JsonRPCClient.php on line 185
  
  Call Stack
  #   Time    Memory  Function                                            Location
  1   1.0022  252616  {main}( )                                           ..\test.php:0
  2   1.0032  295944  org\jsonrpcphp\JsonRPCClient-&gt;get_session_key( )    ..\test.php:25
  3   1.0032  296360  org\jsonrpcphp\JsonRPCClient-&gt;__call( )             ..\test.php:25
  </code></pre>