Quantcast
Channel: Web services
Viewing all articles
Browse latest Browse all 2363

core_group_get_activity_allowed_groups giving errors

$
0
0
by Sarita Phoosopha.  

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. 

Viewing all articles
Browse latest Browse all 2363

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>