I've been using Power BI Rest API to extract datasource information given a dataset id. It was working fine for the last 7 months. I had many attempts this week but it is erroring out after 300 iterations, we have ~ 1600 ids.
$GetDatasetDatasources = $PbiRestApi + "admin/datasets/" + $DatasetId + "/datasources"