I have an event event that, when triggered, causes my observer to mark some student's activity as completed.
When I manually trigger the event as a student (such as from a module's view.php), it works as expected.
When the webservice triggers the event, nothing happens. I can only assume a) it's not being called at all, or b) it's being called but the operation is failing due to permissions of the webservice user or something. I have poked around in the permissions and everything seems to be in order (but what do I know). I think maybe no observer is being invoked, because if I throw an exception in my observer, the webservice does not report an error to me.
I'm super new to Moodle, and unfortunately I know more about it now than those at my company who have helped me get to this point. Can anyone help me?