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"
]