def METHOD_NAME(
    _response: lib.Deserializable[typing.List[dict]],
    settings: provider_utils.Settings,
) -> typing.Tuple[typing.List[models.TrackingDetails], typing.List[models.Message]]:
    response = _response.deserialize()
    errors = [e for e in response if "shipments" not in e]
    details = [
        _extract_detail(lib.to_object(dhl.Shipment, d["shipments"][0]), settings)
        for d in response
        if "shipments" in d
    ]
    return details, error.parse_error_response(errors, settings)