Handle RestDatasource errors