Web service is not available (it doesn't exist or might be Disables) How to fixed?

Web service is not available (it doesn't exist or might be Disables) How to fixed?

by Mustakeam Thoha -
Number of replies: 1

Hello, Could you please check api token, How to fixed?

{"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\/"}


Average of ratings: -
In reply to Mustakeam Thoha

Re: Web service is not available (it doesn't exist or might be Disables) How to fixed?

by Dani Palou -
Picture of Core developers Picture of Moodle HQ Picture of Peer reviewers Picture of Plugin developers

Hi,

the service used by the app doesn't exist or it's disabled in your site. If you're using the official Moodle app, make sure the service "Moodle mobile web service" is enabled in "Site administration > Server > Web Services > External services". If you have a custom app using a custom service then you need to configure it properly.

Cheers,

Dani