In case your MediaWiki website data hasn’t been relocated to another platform, one of the possible reasons is that there are no access rights in the Configuration file (LocalSettings.php). Please, go to the Configuration file and add the following:

$wgEnableAPI = true;
$wgGroupPermissions['*']['read'] = true;

Once finished, you can continue migration setup or initiate new migration.