CiviMobile won't login: "Server API Error" Drupal
A. The url should be https://www.URL.com
Do not include loginpage. 
B. Not sure how you installed it, but make sure the directory of your extension is com.agiliway.civimobileapi (of there is a -master or a version number at the end remove it).