Quantcast
Channel: Web services
Viewing all articles
Browse latest Browse all 2362

Getting the error "Invalid response value detected" for "oktech_get_user_byusername" through REST webservice

$
0
0

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


Viewing all articles
Browse latest Browse all 2362

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>