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)

av Tina Smith -
Antall svar: 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?

Gjennomsnittlig vurdering: -
Som svar til Tina Smith

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

av Juan Leyva -
Bilde av Core developers Bilde av Moodle HQ Bilde av Plugin developers Bilde av 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

Gjennomsnittlig vurdering:Useful (4)
Som svar til Juan Leyva

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

av Tina Smith -

It worked!! Thank you!!

Som svar til Tina Smith

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

av 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.
Som svar til kamesh veerachamy

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

av Juan Leyva -
Bilde av Core developers Bilde av Moodle HQ Bilde av Plugin developers Bilde av Testers

Hi kamesh,

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

Juan

Som svar til Juan Leyva

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

av 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"?
Som svar til Juan Leyva

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

av 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.