I have enabled the Webservices on my Moodle Site as per the Moodle Doc for enabling the Moodle Mobile App.
I as a site administrator can login to the App with no issues
When I try to log in as any other user (student, teacher or Manager) it throws the error message "Invalid response value detected"
Any help with this would be much appreciated!
I have the same error message with my Moodle Mobile app.
How did you resolve it?
The problem in Nathan's Moodle was that it had an incorrect value in userquota. As Admin, if you go to Site Administration > Security > Site policies there is a field named userquota that MUST be a number, it cannot have commas or spaces, that made the WS calls fail.
As Juan said, there are several reasons why this might fail, if you can provide us a test account we can perform some tests.
I have a similar problem. User admin is the only one able to login. The userquota is ok in my case.
The authentication for all users but admin is external DB. I wonder if this could be the problem.
can you check this?
Check that the ADOdb logging option is disabled if you are using the external database auth or enrolment plugin. (In Plugins > Authentication > External database and in Plugins > Enrolment > External database).
If is still failing, we'd need a test user account (send details if possible to firstname.lastname@example.org)
I just clicked on the capability createmobiletoken for the authenticated user as you indicated and the problem was solved.
Thanks a lot for your helpful support.
it was the user quota problem again, the returned error was:
I edited your message and removed the credentials for safety reasons, we always ask people to send them via e-mail or private message because making them public is always risky.
I tested the user you sent us and I'm able to access the app. What problem are you having exactly? I see that courses list is empty, but that's because the WS is returning an empty list so I guess the user is not enrolled in an course.
Thanks alot, but I managed to fix the problem. It was the same issue with
the user quota. The field was empty so I just entered the default integer,
and now it works.