Heya all! I have a problem and I was wondering if anyone could help.
I'm trying to pull completion data from Moodle into our integrated TMS system using the call gradereport_user_get_grade_items, but every time it just errors with the following appearing in our SQL logs:
Moodle ID: 16, Error: Error Code: accessexception Message: Access control exception Exception: webservice_access_exception
The integration is working fine for pushing user data into Moodle. I've looked at a few threads on similar issues and checked all of my user's permissions and web service functions, and I can't see anything obviously wrong.
Current functions in the web service are as follows:
core_completion_get_activities_completion_status
core_course_create_courses
core_role_assign_roles
core_user_create_users
core_user_update_users
enrol_manual_enrol_users
I've also added all of the web service protocols to the api role, but no luck. Token isn't out of date or anything either. Anyone have anything else I can try?
Thanks!