Web services is not available (it doesn't exist or might be disabled)

Web services is not available (it doesn't exist or might be disabled)

by Tina Smith -
Number of replies: 7

I have checked the box for the app to work....but still my app is saying web services are not available. I've redone it several times. What do I do now?

Average of ratings: -
In reply to Tina Smith

Re: Web services is not available (it doesn't exist or might be disabled)

by Juan Leyva -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

There is a bug that makes this check to appear twice in the site settings, you have to enable it going through Admin / Plugins / Web Services / Mobile


If it doesn't work, please let me know your site URL via private messaging

Regards, Juan

Average of ratings: Useful (4)
In reply to Juan Leyva

Re: Web services is not available (it doesn't exist or might be disabled)

by Tina Smith -

It worked!! Thank you!!

In reply to Tina Smith

Re: Web services is not available (it doesn't exist or might be disabled)

by kamesh veerachamy -
Hi
I have faced same issue.I am also enabled the mobile webservices but moodle 3.1.1+  not working but moodle 3.0.2+ is working fine.
What can i do.
In reply to kamesh veerachamy

Re: Web services is not available (it doesn't exist or might be disabled)

by Juan Leyva -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Hi kamesh,

what is the exact error you got when trying to connect to the Moodle 3.1 site?

Juan

In reply to Juan Leyva

Re: Web services is not available (it doesn't exist or might be disabled)

by Robert Montano -

Thanks for the info! This is very helpful!

In reply to Juan Leyva

Re: Web services is not available (it doesn't exist or might be disabled)

by Jose Gaspar -
Thanks for your answer, it allowed me to make my localhost Moodle (3.6) work.

In essence the configuration was:
"Dashboard > Site administration > Plugins > Web services"
"Enable web services" -> Yes
+ down in the same page, "Moodle mobile web service > Edit" -> Enable

My question is: Do I need also to enable REST in "Enable protocols"?
In reply to Juan Leyva

ตอบ: Re: Web services is not available (it doesn't exist or might be disabled)

by Mustakeam Thoha -
Hello could you please check moodle web service
Error
{"error":"Web service is not available (it doesn't exist or might be disabled)","stacktrace":"* line 77 of \\login\\token.php: moodle_exception thrown\n","debuginfo":"\r\nError code: servicenotavailable","reproductionlink":"http:\/\/192.168.124.40:8010\/learning\/"}

I've followed the steps but it's not working.
1. Administration -> Plugins -> Web Services -> External Services -> Enable mobile web service
2. Administration -> Plugins -> Web Services -> Protocols -> Enable REST
3. Administration -> Users -> Permission -> Define roles -> Edit the Authenticated user role -> Allow webservice/rest:use
4. Administration -> Security -> Site policies -> Change the server upload limit. It can't be Server limit. There is a bug in Moodle Web Services
5. Site administration -> Plugins -> Web services -> External services Click edit

Please help to me.
thank you.