Hi,
I am using Rest to call the
core_group_get_activity_allowed_groups function, but I keep getting the error {'exception': 'moodle_exception', 'errorcode': 'guestsarenotallowed', 'message': 'The guest user is not allowed to do this'} even though I am an admin.
I have made sure that REST is enabled and I am able to call other functions such as
core_group_get_course_user_groups which requires a login as well.
I'm not really sure why else I am getting this error.