Hello LimeSurvey Team,
I am trying to use the below API
www.limesurvey.org/manual/RemoteControl_2_API#PHP_Example
But I get the below error: Fatal error: Uncaught Exception: Incorrect response id: (request id: 1) in C:\PATH\jsonrpcphp\JsonRPCClient.php:196 Stack trace: #0 C:\PATH\Test.php(43): org\jsonrpcphp\JsonRPCClient->__call('get_session_key', Array) #1 {main} thrown in C:\PATH\jsonrpcphp\JsonRPCClient.php on line 196
Warning: Trying to access array offset on value of type null in C:\PATH\jsonrpcphp\JsonRPCClient.php on line 195
> $myJSONRPCClient = new \org\jsonrpcphp\JsonRPCClient( LS_BASEURL.'/admin/remotecontrol' );
This is false : copy/paste from LimeSurvey interface.
Else : broke with Incorrect response id means there are no JSONRPC answer at end. Can be a 200, a 404 a 500 etc …
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.
The following user(s) said Thank You: darshanrdesai