We have been successfully using the REST API to create and delete users, enroll and un-enroll users in courses, searching for users etc. So we know the API is enabled and working. However when we attempt to call the tool_mobile_get_autologin_key method with a valid wstoken and privatetoken value we receive the following response:
"message": "Web services must be enabled in Advanced features."
The service we've setup definitely has the tool_mobile_get_autologin_key function included and is being called via https. We've even intentionally forced the call to throw other errors like bad argument, not authorized etc. by sending bad data, just to prove we were reaching the function and it was reacting properly under those conditions. However, for some reason, a correctly formatted and valid request is throwing this very strange error.
Any help you be appreciated.