webservice core_course_get_courses

webservice core_course_get_courses

by Rémi BARRIERE -
Number of replies: 0

Hello,

I use on moodle 3.8.8+ the core_course_get_courses function.
The return by a call https: //my_url_xxx.yy/webservice/rest/server.php? Wstoken = xxxxyyyyyzzzzz & wsfunction = core_course_get_courses & moodlewsrestformat = json
 is {"exception": "invalid_response_exception", "errorcode": "invalidresponse", "message": "Invalid return value detected"}
On an old version 3.3.9 it works fine. Is there a bug on this function in Moodle 3.8.8+ (Build: 20210312)?
It seems that the edwiser bundle (worpress / moodle) uses this call to test the good connection between the two systems. Which obviously returns an error.
thank for help



Average of ratings: -