API function core_completion_get_course_completion_status fails with error:
"message": "You cannot view this report"}
- External services enabled,
- Function added to service,
- Token obtained.
- User id and token when calling function belong to the same user (admin)
- Course id taken from one of the default courses
Could anyone please advise how to make core_completion_get_course_completion_status work?