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?
Did you find an answer to this?
I have the same problem.
Hi, I actually had the same problem but then I found that my test course didn't have completion tracking enabled and completion conditions. Maybe you already found out but somebody else could have the same problem in the future.