Quantcast
Viewing all articles
Browse latest Browse all 2364

mod_quiz_start_attempt gives notyourattempt error code for student

by Arvind Thasal.  

I have created external web service in moodle 3.6.1 and added one function mod_quiz_start_attempt in external service.

But this service access by only admin when any other user try to access this service they got following error.

{

    "exception": "moodle_quiz_exception",

    "errorcode": "notyourattempt",

    "message": "This is not your attempt!"

}

As a admin if I want to allow other users to attempt the quiz using web service API then is there any possible ways to do this?



Viewing all articles
Browse latest Browse all 2364

Trending Articles



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