by Praneeth D.
Hello,
We use the method oktech_get_user_byusername and pass the wstoken and the username as the input parameters. For the generated link we are receiving the below response for some employees.
<?xml
version="1.0" encoding="UTF-8" ?>
-<EXCEPTION class="invalid_response_exception">
<ERRORCODE>invalidresponse</ERRORCODE>
<MESSAGE>Invalid response value detected</MESSAGE>
</EXCEPTION>
Sample URL format: https://aaaa.bbb.cc/webservice/rest/server.php?wstoken=<wstokennumber>&wsfunction=oktech_get_user_byusername&userinfo=<username>
We are using Moodle 2.0.
Could you please help in resolving this error.
Thanks,
Praneeth