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

Can't get all courses with Moodle Webservice API : errorcoursecontextnotvalid User not completely defined

$
0
0
by Landry John MELI.  

I'm facing a probemen actually with Moodle Webservices. I created an users first with appropriate permissions and after with admin permission. But when i try to get all courses (core_course_get_courses) i received :

array:3 [
  "exception" => "moodle_exception""errorcode" => "errorcoursecontextnotvalid""message" => "You cannot execute any functions in the course context (course id: 1). The context error message is: User not completely defined"
]


Viewing all articles
Browse latest Browse all 2361

Trending Articles



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